package com.github.catvod.spider;

import android.content.Context;
import android.text.TextUtils;
import android.util.Base64;
import com.github.catvod.crawler.Spider;
import com.github.catvod.crawler.SpiderDebug;
import com.github.catvod.parser.C0000;
import com.github.catvod.parser.C0001;
import com.github.catvod.parser.C0002;
import com.github.catvod.parser.C0003;
import com.github.catvod.parser.C0004;
import com.github.catvod.parser.C0005;
import com.github.catvod.parser.C0006;
import com.github.catvod.parser.C0007;
import com.github.catvod.parser.C0008;
import com.github.catvod.parser.C0009;
import com.github.catvod.spider.merge.C0011;
import com.github.catvod.spider.merge.C0012;
import com.github.catvod.spider.merge.C0013;
import com.github.catvod.spider.merge.C0014;
import com.github.catvod.spider.merge.C0015;
import com.github.catvod.spider.merge.CE;
import com.github.catvod.spider.merge.L;
import com.github.catvod.spider.merge.fP;
import java.io.ByteArrayOutputStream;
import java.security.KeyFactory;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.interfaces.RSAPublicKey;
import java.security.spec.PKCS8EncodedKeySpec;
import java.security.spec.X509EncodedKeySpec;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import okhttp3.Call;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

/* loaded from: classes.dex */
public class Kuaikan extends Spider {
    private static long V0;
    private static String h;
    private static String j;

    /* renamed from: short, reason: not valid java name */
    private static final short[] f30short = {649, 653, 732, 731, 650, 735, 734, 733, 730, 722, 734, 650, 654, 728, 722, 735, 730, 723, 735, 649, 729, 654, 731, 649, 730, 649, 735, 732, 730, 648, 650, 654, 730, 731, 731, 731, 728, 731, 731, 731, 731, 730, 655, 648, 735, 728, 730, 733, 723, 730, 649, 723, 731, 733, 731, 723, 722, 655, 650, 648, 730, 730, 734, 728, 653, 649, 730, 728, 722, 733, 731, 653, 723, 732, 2415, 2414, 2421, 2408, 2402, 2404, 1674, 1691, 1691, 1698, 1679, 2482, 2483, 2483, 2483, 2480, 2483, 2483, 2483, 2483, 2482, 1869, 1879, 1881, 1872, 1157, 1176, 1180, 1172, 1154, 1157, 1168, 1180, 1153, 2465, 2469, 2548, 2547, 2466, 2551, 2550, 2549, 2546, 2554, 2550, 2466, 2470, 2544, 2554, 2551, 2096, 2105, 2101, 2147, 2099, 2148, 2097, 2147, 2096, 2147, 2101, 2102, 2096, 2146, 2144, 2148, 547, 551, 630, 625, 544, 629, 628, 631, 624, 632, 628, 544, 548, 626, 632, 629, 624, 633, 629, 547, 627, 548, 625, 547, 624, 547, 629, 630, 624, 546, 544, 548, 2011, 2006, 2013, 1984, 504, 485, 495, 487, 489, 504, 2742, 2730, 2730, 2734, 2788, 2801, 2801, 2749, 2730, 2738, 2737, 2737, 2741, 2800, 2744, 2751, 2749, 2751, 2743, 2733, 2742, 2743, 2727, 2743, 2800, 2749, 2737, 2739, 2801, 2751, 2734, 2743, 2801, 2728, 2799, 2801, 2731, 2733, 2747, 2732, 2801, 2738, 2737, 2745, 2743, 2736, 2800, 2746, 2737, 2264, 2265, 2251, 2213, 2255, 2249, 2248, 2213, 2266, 2241, 2249, 2265, 2235, 2266, 2283, 2286, 2286, 2275, 2276, 2285, 2857, 2856, 2874, 906, 907, 921, 1010, 999, 572, 573, 573, 573, 574, 573, 573, 573, 573, 572, 617, 622, 569, 574, 572, 571, 565, 572, 623, 565, 573, 571, 573, 565, 564, 617, 620, 622, 572, 572, 568, 574, 619, 623, 572, 574, 564, 571, 573, 619, 565, 570, 573, 573, 948, 949, 942, 947, 953, 959, 859, 862, 844, 651, 666, 666, 675, 654, 1567, 1566, 1566, 1566, 1565, 1566, 1566, 1566, 1566, 1567, 308, 315, 300, 3183, 3189, 3195, 3186, 2707, 2702, 2698, 2690, 2708, 2707, 2694, 2698, 2711, 1311, 1287, 1315, 1294, 1039, 1026, 1033, 1044, 3266, 3295, 3285, 3293, 3283, 3266, 2025, 2037, 2037, 2033, 1979, 1966, 1966, 2018, 2037, 2029, 2030, 2030, 2026, 1967, 2023, 2016, 2018, 2016, 2024, 2034, 2025, 2024, 2040, 2024, 1967, 2018, 2030, 2028, 1966, 2016, 2033, 2024, 1966, 2039, 1968, 1966, 2036, 2034, 2020, 2035, 1966, 2018, 2030, 2031, 2023, 2024, 2022, 1967, 2021, 2030, 2777, 2757, 2753, 2770, 2793, 2756, 1557, 1536, 1542, 1576, 1541, 1911, 1892, 1907, 1911, 1887, 1906, 1107, 1106, 1106, 1106, 1105, 1106, 1106, 1106, 1106, 1107, 1030, 1025, 1110, 1105, 1107, 1108, 1114, 1107, 1024, 1114, 1106, 1108, 1106, 1114, 1115, 1030, 1027, 1025, 1107, 1107, 1111, 1105, 1028, 1024, 1107, 1105, 1115, 1108, 1106, 1028, 1114, 1109, 1334, 1335, 1324, 1329, 1339, 1341, 631, 614, 614, 607, 626, 365, 364, 364, 364, 367, 364, 364, 364, 364, 365, 763, 758, 767, 746, 710, 747, 1478, 1495, 1489, 1491, 2825, 2840, 2846, 2844, 2858, 2832, 2819, 2844, 1321, 1331, 1341, 1332, 2449, 2444, 2440, 2432, 2454, 2449, 2436, 2440, 2453, 932, 937, 930, 959, 2481, 2476, 2470, 2478, 2464, 2481, 700, 672, 672, 676, 750, 763, 763, 695, 672, 696, 699, 699, 703, 762, 690, 693, 695, 693, 701, 679, 700, 701, 685, 701, 762, 695, 699, 697, 763, 693, 676, 701, 763, 674, 741, 763, 679, 689, 693, 678, 695, 700, 763, 674, 701, 688, 689, 699, 762, 688, 699, 342, 343, 343, 343, 340, 343, 343, 343, 343, 342, 259, 260, 339, 340, 342, 337, 351, 342, 261, 351, 343, 337, 343, 351, 350, 259, 262, 260, 342, 342, 338, 340, 257, 261, 342, 340, 350, 337, 343, 257, 351, 336, 2227, 2226, 2217, 2228, 2238, 2232, 3140, 3157, 3157, 3180, 3137, 1492, 1493, 1493, 1493, 1494, 1493, 1493, 1493, 1493, 1492, 284, 273, 718, 724, 730, 723, 2413, 2416, 2420, 2428, 2410, 2413, 2424, 2420, 2409, 1175, 1178, 1169, 1164, 1842, 1839, 1829, 1837, 1827, 1842, 3055, 3059, 3059, 3063, 3005, 2984, 2984, 3044, 3059, 3051, 3048, 3048, 3052, 2985, 3041, 3046, 3044, 3046, 3054, 3060, 3055, 3054, 3070, 3054, 2985, 3044, 3048, 3050, 2984, 3046, 3063, 3054, 2984, 3057, 2998, 2984, 3057, 3054, 3043, 3042, 3048, 2984, 3063, 3051, 3046, 3070, 2984, 738, 680, 675, 748, 914, 918, 896, 2834, 2838, 2816, 2940, 2832, 2833, 2832, 2940, 2819, 2840, 2832, 2816, 2918, 2819, 2866, 2871, 2871, 2874, 2877, 2868, 1799, 1798, 1798, 1798, 1797, 1798, 1798, 1798, 1798, 1799, 1874, 1877, 1794, 1797, 1799, 1792, 1806, 1799, 1876, 1806, 1798, 1792, 1798, 1806, 1807, 1874, 1879, 1877, 1799, 1799, 1795, 1797, 1872, 1876, 1799, 1797, 1807, 1792, 1798, 1872, 1806, 1793, 1545, 1544, 1555, 1550, 1540, 1538, 873, 888, 888, 833, 876, 1140, 1141, 1141, 1141, 1142, 1141, 1141, 1141, 1141, 1140, 2543, 2549, 2555, 2546, 2415, 2418, 2422, 2430, 2408, 2415, 2426, 2422, 2411, 1319, 1322, 1313, 1340, 2967, 2954, 2944, 2952, 2950, 2967, 1950, 1922, 1922, 1926, 1996, 2009, 2009, 1941, 1922, 1946, 1945, 1945, 1949, 2008, 1936, 1943, 1941, 1943, 1951, 1925, 1950, 1951, 1935, 1951, 2008, 1941, 1945, 1947, 2009, 1943, 1926, 1951, 2009, 1920, 1991, 2009, 1923, 1925, 1939, 1924, 2009, 1937, 1939, 1944, 1924, 1939, 1925, 2008, 1938, 1945, 2116, 2123, 2118, 2132, 2132, 3098, 3093, 3088, 3080, 3097, 3086, 3087, 3202, 3203, 3203, 3203, 3200, 3203, 3203, 3203, 3203, 3202, 3287, 3280, 3207, 3200, 3202, 3205, 3211, 3202, 3281, 3211, 3203, 3205, 3203, 3211, 3210, 3287, 3282, 3280, 3202, 3202, 3206, 3200, 3285, 3281, 3202, 3200, 3210, 3205, 3203, 3285, 3211, 3204, 3202, 3202, 3206, 1038, 1039, 1044, 1033, 1027, 1029, 951, 934, 934, 927, 946, 1995, 1994, 1994, 1994, 1993, 1994, 1994, 1994, 1994, 1995, 2647, 2650, 1490, 1480, 1478, 1487, 2005, 1992, 1996, 1988, 2002, 2005, 1984, 1996, 2001, 2740, 2745, 2738, 2735, 1886, 1859, 1865, 1857, 1871, 1886, 1849, 1829, 1829, 1825, 1899, 1918, 1918, 1842, 1829, 1853, 1854, 1854, 1850, 1919, 1847, 1840, 1842, 1840, 1848, 1826, 
    1849, 1848, 1832, 1848, 1919, 1842, 1854, 1852, 1918, 1840, 1825, 1848, 1918, 1831, 1888, 1918, 1828, 1826, 1844, 1827, 1918, 1846, 1844, 1855, 1827, 1844, 1918, 1888, 1888, 1892, 1919, 1845, 1854, 1067, 1070, 1076, 1075, 3082, 3090, 3126, 3099, 3023, 3020, 3029, 3032, 3033, 3022, 3043, 3063, 3017, 3037, 3029, 3031, 3037, 3026, 984, 988, 970, 2317, 2313, 2335, 2403, 2319, 2318, 2319, 2403, 2332, 2311, 2319, 2335, 2425, 2332, 2349, 2344, 2344, 2341, 2338, 2347, 1063, 1062, 1076, 1119, 1098, 3100, 3085, 3085, 3124, 3097, 1908, 1909, 1909, 1909, 1910, 1909, 1909, 1909, 1909, 1908, 1287, 1300, 1283, 1282, 1304, 1310, 1311, 2186, 2217, 2228, 2224, 2232, 2222, 2217, 2236, 2224, 2221, 1312, 1313, 1313, 1313, 1314, 1313, 1313, 1313, 1313, 1312, 1397, 1394, 1317, 1314, 1312, 1319, 1321, 1312, 1395, 1321, 1313, 1319, 1313, 1321, 1320, 1397, 1392, 1394, 1312, 1312, 1316, 1314, 1399, 1395, 1312, 1314, 1320, 1319, 1313, 1399, 1321, 1318, 1317, 2100, 2101, 2094, 2099, 2105, 2111, 2931, 2920, 2924, 2914, 2921, 2653, 2683, 2669, 2682, 2597, 2633, 2671, 2669, 2662, 2684, 3278, 3274, 3273, 3285, 3285, 3281, 3214, 3220, 3215, 3217, 3215, 3217, 3212, 3264, 3277, 3281, 3273, 3264, 3215, 3219, 2839, 2838, 2820, 1594, 1595, 1577, 1607, 1581, 1579, 1578, 1607, 1592, 1571, 1579, 1595, 1625, 1592, 1545, 1548, 1548, 1537, 1542, 1551, 2947, 2946, 2960, 3067, 3054, 2651, 2683, 3140, 3139, 3165, 1178, 1179, 1179, 1179, 1176, 1179, 1179, 1179, 1179, 1178, 1231, 1224, 1183, 1176, 1178, 1181, 1171, 1178, 1225, 1171, 1179, 1181, 1179, 1171, 1170, 1231, 1226, 1224, 1178, 1178, 1182, 1176, 1229, 1225, 1178, 1176, 1170, 1181, 1179, 1229, 1171, 1180, 1475, 1474, 1497, 1476, 1486, 1480, 1718, 1703, 1703, 1694, 1715, 2874, 2875, 2875, 2875, 2872, 2875, 2875, 2875, 2875, 2874, 1939, 1950, 2484, 2473, 2484, 2476, 2469, 2301, 2279, 2281, 2272, 2987, 2998, 2994, 3002, 2988, 2987, 3006, 2994, 2991, 2068, 2073, 2066, 2063, 1632, 1661, 1655, 1663, 1649, 1632, 2397, 2380, 2399, 2398, 2376, 2569, 2564, 2560, 2565, 2564, 2579, 1192, 1204, 1209, 1185, 1165, 1194, 1204, 2151, 2150, 2150, 2150, 2149, 2150, 2150, 2150, 2150, 2151, 2098, 2101, 2146, 2149, 2151, 2144, 2158, 2151, 2100, 2158, 2150, 2144, 2150, 2158, 2159, 2098, 2103, 2101, 2151, 2151, 2147, 2149, 2096, 2100, 2151, 2149, 2159, 2144, 2150, 2096, 2158, 2145, 2151, 2151, 2148, 2029, 2028, 2039, 2026, 2016, 2022, 1560, 1545, 1545, 1584, 1565, 349, 348, 348, 348, 351, 348, 348, 348, 348, 349, 1377, 1391, 1395, 1405, 1381, 1400, 1390, 1736, 1753, 1759, 1757, 2624, 2641, 2647, 2645, 2659, 2649, 2634, 2645, 2096, 2090, 2084, 2093, 597, 584, 588, 580, 594, 597, 576, 588, 593, 1403, 1398, 1405, 1376, 2558, 2531, 2537, 2529, 2543, 2558, 2919, 2939, 2939, 2943, 2869, 2848, 2848, 2924, 2939, 2915, 2912, 2912, 2916, 2849, 2921, 2926, 2924, 2926, 2918, 2940, 2919, 2918, 2934, 2918, 2849, 2924, 2912, 2914, 2848, 2926, 2943, 2918, 2848, 2937, 2878, 2848, 2940, 2922, 2926, 2941, 2924, 2919, 2848, 2943, 2926, 2920, 2922, 2849, 2923, 2912, 1781, 1788, 1677};
    private HashMap<String, ArrayList<String>> q = new HashMap<>();

    /* renamed from: com.github.catvod.spider.Kuaikan$5, reason: invalid class name */
    class AnonymousClass5 extends L.yh {

        /* renamed from: short, reason: not valid java name */
        private static final short[] f35short = {2134, 2139, 2128, 2125, 1478, 1499, 1489, 1497, 1495, 1478, 258, 262, 264, 297, 258, 270, 383, 264, 268, 284, 318, 264, 284, 262, 301, 380, 267, 286, 266, 269, 270, 286, 282, 270, 270, 379, 264, 257, 270, 267, 268, 269, 294, 286, 260, 269, 296, 286, 268, 294, 278, 261, 378, 282, 265, 293, 298, 266, 296, 298, 282, 294, 378, 310, 289, 259, 260, 295, 293, 378, 266, 258, 265, 383, 325, 380, 316, 302, 312, 283, 310, 270, 260, 288, 287, 301, 297, 282, 268, 284, 277, 277, 286, 378, 286, 299, 317, 263, 295, 317, 262, 257, 296, 296, 317, 278, 311, 267, 315, 269, 352, 283, 280, 279, 288, 318, 284, 265, 356, 269, 261, 287, 375, 378, 265, 383, 313, 318, 375, 269, 377, 296, 256, 318, 265, 280, 295, 260, 352, 325, 382, 287, 262, 260, 298, 381, 312, 260, 291, 285, 285, 314, 277, 284, 256, 299, 282, 309, 260, 352, 380, 313, 309, 285, 263, 290, 285, 380, 261, 380, 260, 264, 317, 313, 257, 309, 313, 312, 270, 285, 263, 375, 296, 296, 375, 311, 277, 293, 301, 316, 302, 291, 300, 352, 296, 269, 292, 300, 281, 311, 284, 311, 264, 299, 325, 375, 293, 375, 317, 261, 379, 286, 295, 256, 284, 265, 295, 374, 265, 375, 269, 381, 312, 262, 267, 270, 286, 270, 269, 3136, 3138, 3145, 3157, 3138, 3156, 311, 312, 308, 316, 1432, 1429, 1436, 1417, 1445, 1416, 748, 737, 744, 765, 711, 753, 764, 975, 962, 971, 990, 996, 981, 986, 982, 990, 2682, 2683, 2683, 2683, 2680, 2683, 2683, 2683, 2683, 2682, 2607, 2600, 2687, 2680, 2682, 2685, 2675, 2682, 2601, 2675, 2683, 2685, 2683, 2675, 2674, 2607, 2602, 2600, 2682, 2682, 2686, 2680, 2605, 2601, 2682, 2680, 2674, 2685, 2683, 2605, 2675, 2684, 1065, 1064, 1075, 1070, 1060, 1058, 2587, 2570, 2570, 2611, 2590, 2931, 2930, 2930, 2930, 2929, 2930, 2930, 2930, 2930, 2931, 276, 265, 260, 2797, 2807, 2809, 2800, 1183, 1154, 1158, 1166, 1176, 1183, 1162, 1158, 1179, 1441, 1469, 1469, 1465, 1523, 1510, 1510, 1450, 1469, 1445, 1446, 1446, 1442, 1511, 1455, 1448, 1450, 1448, 1440, 1466, 1441, 1440, 1456, 1440, 1511, 1450, 1446, 1444, 1510, 1448, 1465, 1440, 1510, 1471, 1528, 1510, 1466, 1452, 1448, 1467, 1450, 1441, 1510, 1450, 1448, 1469, 1452, 1454, 1446, 1467, 1456, 1511, 1453, 1446};
        final JSONArray V0;
        final JSONObject j;
        final Kuaikan q;

        AnonymousClass5(Kuaikan kuaikan, JSONArray jSONArray, JSONObject jSONObject) {
            this.q = kuaikan;
            this.V0 = jSONArray;
            this.j = jSONObject;
            int m48 = C0016.m48();
            int i = 1616;
            while (true) {
                i ^= 1633;
                switch (i) {
                    case 14:
                    case 49:
                        i = m48 <= 0 ? 1709 : 1678;
                    case 204:
                        System.out.println(Double.valueOf(C0006.m23("DFnqD7fJhtG4AGqhFn")));
                        break;
                    case 239:
                        break;
                }
                return;
            }
        }

        @Override // com.github.catvod.spider.merge.L
        public void onFailure(Call call, Exception exc) {
            int m24 = C0007.m24();
            int i = 1616;
            while (true) {
                i ^= 1633;
                switch (i) {
                    case 14:
                    case 49:
                        i = m24 >= 0 ? 1709 : 1678;
                    case 204:
                        System.out.println(Integer.parseInt(C0015.m46("e2zOKXQGvGy")));
                        break;
                    case 239:
                        break;
                }
                return;
            }
        }

        /* JADX WARN: Failed to find 'out' block for switch in B:23:0x0096. Please report as an issue. */
        /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0064. Please report as an issue. */
        @Override // com.github.catvod.spider.merge.L
        public String onResponse(String str) {
            JSONArray jSONArray;
            int i = 0;
            String m12 = C0004.m12(f35short, 0, 4, 2100);
            String m17 = C0005.m17(f35short, 4, 6, 1458);
            try {
                JSONObject jSONObject = new JSONObject(str);
                String Qy = this.q.Qy(C0007.m26(f35short, 10, 219, 335), jSONObject.getString(m17));
                jSONArray = new JSONObject(this.q.j(Qy.substring(0, 16), Qy.substring(16, 32), jSONObject.getString(m12))).getJSONArray(C0015.m47(f35short, 229, 6, 3111));
            } catch (JSONException e) {
                int i2 = 48767;
                while (true) {
                    i2 ^= 48784;
                    switch (i2) {
                        case 14:
                            break;
                        case 239:
                            i2 = 48798;
                            break;
                    }
                }
            }
            while (true) {
                int i3 = i;
                int length = jSONArray.length();
                int i4 = 1616;
                while (true) {
                    i4 ^= 1633;
                    switch (i4) {
                        case 14:
                        case 49:
                            i4 = i3 < length ? 1709 : 1678;
                        case 204:
                            JSONObject jSONObject2 = jSONArray.getJSONObject(i3);
                            String string = jSONObject2.getString(C0014.m43(f35short, 235, 4, 345));
                            int i5 = jSONObject2.getInt(C0015.m47(f35short, 239, 6, 1516));
                            int i6 = 1740;
                            while (true) {
                                i6 ^= 1757;
                                switch (i6) {
                                    case 17:
                                        i6 = i5 > 0 ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        break;
                                    case 500:
                                        JSONObject jSONObject3 = new JSONObject();
                                        jSONObject3.put(C0015.m47(f35short, 245, 7, 664), i5 + "");
                                        jSONObject3.put(C0008.m27(f35short, 252, 9, 955), string);
                                        this.V0.put(jSONObject3);
                                        JSONObject jSONObject4 = new JSONObject();
                                        long currentTimeMillis = System.currentTimeMillis() / 1000;
                                        String u = this.q.u(C0004.m12(f35short, 261, 42, 2635) + i5 + currentTimeMillis + C0008.m27(f35short, 303, 6, 1095));
                                        jSONObject4.put(C0013.m41(f35short, 309, 5, 2682), C0003.m9(f35short, 314, 10, 2882));
                                        jSONObject4.put(C0007.m26(f35short, 324, 3, 352), i5);
                                        jSONObject4.put(C0011.m35(f35short, 327, 4, 2718), u);
                                        jSONObject4.put(C0014.m43(f35short, 331, 9, 1259), currentTimeMillis);
                                        String h = this.q.h(Kuaikan.h.substring(0, 16), Kuaikan.h.substring(16, 32), jSONObject4.toString());
                                        String oq = this.q.oq("MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDitX/rWP6WWc3h\nDzUcfD8Hbw79yCB7rz18GEkjDapjlUVIa3P8FEQFoOchu7N+vdK6HQNsl2Bql4lv\nWOYuzRWNbLGQ7mNtMca28iCuPHck0AcJzOs9F6qruPL73eY7Ai7yvzs2IfEdyXSz\nHP/yXgEOi5ZEBfsBZEPMJw6vfHJVueuD/lh/LkoJ/gXEKMCM/pkIzGpBPd2TsIg8\nZdvOGMPy+MOnJb1Qfe0y3QQdc5VPVdZFWoWsM9RAenHmE3d1THb+uNZZZcnM1tV7\nxYgBbIhgHtXAZnWDWDRBM3xJPR3O9dfBHHt/tbyrZrSwK1IgwFgqfYm/tRbmp4y/\n1DhIF6mDAgMBAAECggEAIzDjS2gEFNiZ0a6nouVSb1f47sHq8OgR1jp619seMNkR\n6Rzs4xtON8VzO1REl47lsAgi6O9SgxlEtykIiglBqDNQGNw4SNHqM6nAEuvF3sv/\n27CYb2JGFuPdq+UVAOHk4b93dH6uS95ipA8DV97psRVP3P1EqkGjGISTjf/2S4IG\n10Q0UhP4xxiRS2iCtaIq0fbvnrChqYRlYQYpkkRCCH+Q4FNKquSsqmWyCu5yfeQM\nMek+aT9KgvmCh05UCeqC1x7xPtSneNbpJpLD5zW8CcG7EYFDtIP8b9BPDlud47ZH\n5Y4/wyQQFHHLOaniTJVvEJZ7cIoXy2gOhvgcHpNryQKBgQDxNNtXnCfVK0JYNhnU\n5WCOX9NeW9Q79HldhTM5/EqsjA5H21j5S7A/duBSRfX7iou1hyXaa2p+J7rxF9sj\nNlwHPsKhprskxXaHJ7qU84gSmwORsTQQPmtTsizGwVsM330+Q2ZROaSEfDoUqH9+\nKBKs6K+FOldcTOrCZ+ILk8werwKBgQDwnQUrKATzRThVdD6Hcgt/F/SAizDmvtiT\nVvRcGkiV3EtB5Rx8zFNJ9GWrqSAArwIxTWgfYCYsvpUjbJW02Mg0Ufj2+YhjT713\nO9yViwUq996St9eLwGQO5FDMD8FYi7bRAiZEAeAeIEeveDRsNK15++8VVJVo7b2l\nzcapp5k3bQKBgQDSiJNHRhqSet6+xgIIDGoZ+1Qv0TFPX5UrZt8OpsK7FshEOhXQ\nCxt8WZN03HHXK9fEC4GjwwxBrwYB+BOjCYiMHmCd3j0M3HoXgDrgViyYKMuVuDk8\nUG83r5ZbqVuCwfO8i/HbxddueEvtyiD2CZ47ZCIHxKOKAe0K4Mex2UBaKwKBgQDi\nrEouOelP9Kn5dyVhHENQXBTu9DIBb1FAnO5fxjMTWxFa5qhLuYHNbfxKF24atsRu\nBepNhJryFCkT0jvGv2L8Ry0wHiwqwvhO14obJ3ia3iBEQAVDlt+sV9L2KvGOpTB4\n/nlmIA4u02I1IBziw02aWYkGo0SOMUo0ZQL+2PEykQKBgAV1uqiJlWuA9uPdFFJP\nZPL2YoOuTWdWfIwIb/UdsbUuTckCgqPIqUPi3HhiVSunOgcO7HWK3GD3j8k4XEbW\nG4y+Ik0lLrWzBl728tZe1GENzTf8aapElHlUfFSM4OlrTRBsbMOsQBcJNh7QbyoZ\nBHiZZTbRUY6xUR4DGYkCOksF", Kuaikan.h);
                                        JSONObject jSONObject5 = new JSONObject();
                                        jSONObject5.put(m12, h);
                                        jSONObject5.put(m17, oq);
                                        new JSONArray();
                                        fP.W(fP.j(), C0003.m9(f35short, 340, 54, 1481), jSONObject5.toString(), this.q.j(currentTimeMillis), new L.yh(this, i5) { // from class: com.github.catvod.spider.Kuaikan.5.1

                                            /* renamed from: short, reason: not valid java name */
                                            private static final short[] f36short = {2687, 2664, 2661, 2684, 2668, 390, 392, 404, 1389, 1378, 1390, 1382, 1195, 1199, 1185, 1152, 1195, 1191, 1238, 1185, 1189, 1205, 1175, 1185, 1205, 1199, 1156, 1237, 1186, 1207, 1187, 1188, 1191, 1207, 1203, 1191, 1191, 1234, 1185, 1192, 1191, 1186, 1189, 1188, 1167, 1207, 1197, 1188, 1153, 1207, 1189, 1167, 1215, 1196, 1235, 1203, 1184, 1164, 1155, 1187, 1153, 1155, 1203, 1167, 1235, 1183, 1160, 1194, 1197, 1166, 1164, 1235, 1187, 1195, 1184, 1238, 1260, 1237, 1173, 1159, 1169, 1202, 1183, 1191, 1197, 1161, 1206, 1156, 1152, 1203, 1189, 1205, 1212, 1212, 1207, 1235, 1207, 1154, 1172, 1198, 1166, 1172, 1199, 1192, 1153, 1153, 1172, 1215, 1182, 1186, 1170, 1188, 1225, 1202, 1201, 1214, 1161, 1175, 1205, 1184, 1229, 1188, 1196, 1206, 1246, 1235, 1184, 1238, 1168, 1175, 1246, 1188, 1232, 1153, 1193, 1175, 1184, 1201, 1166, 1197, 1225, 1260, 1239, 1206, 1199, 1197, 1155, 1236, 1169, 1197, 1162, 1204, 1204, 1171, 1212, 1205, 1193, 1154, 1203, 1180, 1197, 1225, 1237, 1168, 1180, 1204, 1198, 1163, 1204, 1237, 1196, 1237, 1197, 1185, 1172, 1168, 1192, 1180, 1168, 1169, 1191, 1204, 1198, 1246, 1153, 1153, 1246, 1182, 1212, 1164, 1156, 1173, 1159, 1162, 1157, 1225, 1153, 1188, 1165, 1157, 1200, 1182, 1205, 1182, 1185, 1154, 1260, 1246, 1164, 1246, 1172, 1196, 1234, 1207, 1166, 1193, 1205, 1184, 1166, 1247, 1184, 1246, 1188, 1236, 1169, 1199, 1186, 1191, 1207, 1191, 1188, 3286, 3275, 3265, 3273, 3271, 3286, 2465, 2476, 2471, 2490, 992, 1011, 996, 992, 1010, 2789, 2809, 2813, 2798, 2799, 2036, 2017, 2023, 2035, 713, 732, 730, 756, 729, 29816, 24456, 919, 922, 287, 1384, 1556, 1543, 1552, 1556, 1596, 1553, 21221, 22255, 2684, 2656, 2660, 2679, 2636, 2657, 21589, 17628};
                                            final int V0;
                                            final AnonymousClass5 j;

                                            {
                                                this.j = this;
                                                this.V0 = i5;
                                                int m51 = C0017.m51();
                                                int i7 = 1616;
                                                while (true) {
                                                    i7 ^= 1633;
                                                    switch (i7) {
                                                        case 14:
                                                        case 49:
                                                            i7 = m51 <= 0 ? 1709 : 1678;
                                                        case 204:
                                                            System.out.println(Double.valueOf(C0000.m2("4U5jn8FG1wJ75xv")));
                                                            break;
                                                        case 239:
                                                            break;
                                                    }
                                                    return;
                                                }
                                            }

                                            @Override // com.github.catvod.spider.merge.L
                                            public void onFailure(Call call, Exception exc) {
                                            }

                                            /* JADX WARN: Failed to find 'out' block for switch in B:12:0x017d. Please report as an issue. */
                                            /* JADX WARN: Failed to find 'out' block for switch in B:17:0x01f3. Please report as an issue. */
                                            /* JADX WARN: Failed to find 'out' block for switch in B:7:0x010e. Please report as an issue. */
                                            @Override // com.github.catvod.spider.merge.L
                                            public String onResponse(String str2) {
                                                JSONArray jSONArray2;
                                                JSONArray jSONArray3;
                                                JSONArray jSONArray4;
                                                JSONArray jSONArray5;
                                                JSONObject jSONObject6;
                                                JSONArray jSONArray6;
                                                int i7;
                                                String m9 = C0003.m9(f36short, 0, 5, 2569);
                                                String m52 = C0017.m52(f36short, 5, 3, 493);
                                                String m41 = C0013.m41(f36short, 8, 4, 1283);
                                                try {
                                                    JSONObject jSONObject7 = new JSONObject(str2);
                                                    String Qy2 = this.j.q.Qy(C0001.m3(f36short, 12, 219, 1254), jSONObject7.getString(C0001.m3(f36short, 231, 6, 3234)));
                                                    JSONObject jSONObject8 = new JSONObject(this.j.q.j(Qy2.substring(0, 16), Qy2.substring(16, 32), jSONObject7.getString(C0008.m27(f36short, 237, 4, 2499))));
                                                    jSONArray2 = jSONObject8.getJSONArray(C0017.m52(f36short, 241, 5, 897));
                                                    jSONArray3 = jSONObject8.getJSONArray(C0001.m3(f36short, 246, 5, 2716));
                                                    jSONArray4 = jSONObject8.getJSONArray(C0006.m18(f36short, 251, 4, 1920));
                                                    jSONArray5 = new JSONArray();
                                                    jSONObject6 = new JSONObject();
                                                    jSONObject6.put(m52, C0002.m6(f36short, 255, 5, 701));
                                                    jSONObject6.put(m41, C0014.m43(f36short, 260, 2, 2051));
                                                    jSONArray6 = new JSONArray();
                                                    i7 = 0;
                                                } catch (JSONException e2) {
                                                    int i8 = 49790;
                                                    while (true) {
                                                        i8 ^= 49807;
                                                        switch (i8) {
                                                            case 18:
                                                                break;
                                                            case 241:
                                                                i8 = 49821;
                                                                break;
                                                        }
                                                    }
                                                }
                                                while (true) {
                                                    int length2 = jSONArray4.length();
                                                    String m18 = C0006.m18(f36short, 262, 2, 1022);
                                                    String m26 = C0007.m26(f36short, 264, 1, 361);
                                                    String m122 = C0004.m12(f36short, 265, 1, 1286);
                                                    int i9 = 1616;
                                                    while (true) {
                                                        i9 ^= 1633;
                                                        switch (i9) {
                                                            case 14:
                                                            case 49:
                                                                i9 = i7 < length2 ? 1709 : 1678;
                                                            case 204:
                                                                JSONObject jSONObject9 = jSONArray4.getJSONObject(i7);
                                                                JSONObject jSONObject10 = new JSONObject();
                                                                jSONObject10.put(m122, jSONObject9.getString(m41));
                                                                jSONObject10.put(m26, jSONObject9.getString(m18));
                                                                jSONArray6.put(jSONObject10);
                                                                i7++;
                                                                int i10 = 1740;
                                                                while (true) {
                                                                    i10 ^= 1757;
                                                                    switch (i10) {
                                                                        case 17:
                                                                            i10 = 1771;
                                                                            break;
                                                                        case 54:
                                                                            break;
                                                                    }
                                                                }
                                                                break;
                                                            case 239:
                                                                break;
                                                        }
                                                        jSONObject6.put(m9, jSONArray6);
                                                        jSONArray5.put(jSONObject6);
                                                        JSONObject jSONObject11 = new JSONObject();
                                                        jSONObject11.put(m52, C0005.m17(f36short, 266, 6, 1653));
                                                        jSONObject11.put(m41, C0017.m52(f36short, 272, 2, 1493));
                                                        JSONArray jSONArray7 = new JSONArray();
                                                        int i11 = 0;
                                                        while (true) {
                                                            int length3 = jSONArray2.length();
                                                            int i12 = 1864;
                                                            while (true) {
                                                                i12 ^= 1881;
                                                                switch (i12) {
                                                                    case 17:
                                                                        i12 = i11 < length3 ? 48736 : 48705;
                                                                    case 47384:
                                                                        break;
                                                                    case 47417:
                                                                        JSONObject jSONObject12 = jSONArray2.getJSONObject(i11);
                                                                        JSONObject jSONObject13 = new JSONObject();
                                                                        jSONObject13.put(m122, jSONObject12.getString(m41));
                                                                        jSONObject13.put(m26, jSONObject12.getString(m18));
                                                                        jSONArray7.put(jSONObject13);
                                                                        i11++;
                                                                        int i13 = 48767;
                                                                        while (true) {
                                                                            i13 ^= 48784;
                                                                            switch (i13) {
                                                                                case 14:
                                                                                    break;
                                                                                case 239:
                                                                                    i13 = 48798;
                                                                                    break;
                                                                            }
                                                                        }
                                                                        break;
                                                                    case 47483:
                                                                }
                                                                jSONObject11.put(m9, jSONArray7);
                                                                jSONArray5.put(jSONObject11);
                                                                JSONObject jSONObject14 = new JSONObject();
                                                                jSONObject14.put(m52, C0003.m9(f36short, 274, 6, 2565));
                                                                jSONObject14.put(m41, C0015.m47(f36short, 280, 2, 2593));
                                                                JSONArray jSONArray8 = new JSONArray();
                                                                int i14 = 0;
                                                                while (true) {
                                                                    int length4 = jSONArray3.length();
                                                                    int i15 = 48891;
                                                                    while (true) {
                                                                        i15 ^= 48908;
                                                                        switch (i15) {
                                                                            case 22:
                                                                            case 53:
                                                                                break;
                                                                            case 503:
                                                                                i15 = i14 < length4 ? 49635 : 48953;
                                                                            case 32495:
                                                                                JSONObject jSONObject15 = jSONArray3.getJSONObject(i14);
                                                                                JSONObject jSONObject16 = new JSONObject();
                                                                                jSONObject16.put(m122, jSONObject15.getString(m41));
                                                                                jSONObject16.put(m26, jSONObject15.getString(m18));
                                                                                jSONArray8.put(jSONObject16);
                                                                                int i16 = i14 + 1;
                                                                                int i17 = 49666;
                                                                                while (true) {
                                                                                    i17 ^= 49683;
                                                                                    switch (i17) {
                                                                                        case 17:
                                                                                            i17 = 49697;
                                                                                            break;
                                                                                        case 50:
                                                                                            break;
                                                                                    }
                                                                                }
                                                                                i14 = i16;
                                                                                break;
                                                                        }
                                                                        jSONObject14.put(m9, jSONArray8);
                                                                        jSONArray5.put(jSONObject14);
                                                                        this.j.j.put(this.V0 + "", jSONArray5);
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                    return str2;
                                                }
                                            }
                                        });
                                        break;
                                }
                            }
                            i = i3 + 1;
                            int i7 = 1864;
                            while (true) {
                                i7 ^= 1881;
                                switch (i7) {
                                    case 17:
                                        i7 = 48674;
                                        break;
                                    case 47483:
                                        break;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                }
                return str;
            }
        }
    }

    public Kuaikan() {
        int m13 = C0004.m13();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m13 <= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Float.parseFloat(C0012.m36("cGJBH2lpgSnJ5")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    private void V0() {
        long currentTimeMillis = System.currentTimeMillis();
        long j2 = V0;
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = currentTimeMillis > j2 ? 1709 : 1678;
                case 204:
                    try {
                        JSONObject jSONObject = new JSONObject();
                        long currentTimeMillis2 = System.currentTimeMillis() / 1000;
                        String u = u(C0003.m9(f30short, 0, 74, 747) + currentTimeMillis2 + C0013.m41(f30short, 74, 6, 2305));
                        jSONObject.put(C0015.m47(f30short, 80, 5, 1771), C0000.m1(f30short, 85, 10, 2435));
                        jSONObject.put(C0007.m26(f30short, 95, 4, 1854), u);
                        jSONObject.put(C0008.m27(f30short, 99, 9, 1265), currentTimeMillis2);
                        String h2 = h(C0002.m6(f30short, 108, 16, 2499), C0002.m6(f30short, 124, 16, 2049), jSONObject.toString());
                        String oq = oq("MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDitX/rWP6WWc3h\nDzUcfD8Hbw79yCB7rz18GEkjDapjlUVIa3P8FEQFoOchu7N+vdK6HQNsl2Bql4lv\nWOYuzRWNbLGQ7mNtMca28iCuPHck0AcJzOs9F6qruPL73eY7Ai7yvzs2IfEdyXSz\nHP/yXgEOi5ZEBfsBZEPMJw6vfHJVueuD/lh/LkoJ/gXEKMCM/pkIzGpBPd2TsIg8\nZdvOGMPy+MOnJb1Qfe0y3QQdc5VPVdZFWoWsM9RAenHmE3d1THb+uNZZZcnM1tV7\nxYgBbIhgHtXAZnWDWDRBM3xJPR3O9dfBHHt/tbyrZrSwK1IgwFgqfYm/tRbmp4y/\n1DhIF6mDAgMBAAECggEAIzDjS2gEFNiZ0a6nouVSb1f47sHq8OgR1jp619seMNkR\n6Rzs4xtON8VzO1REl47lsAgi6O9SgxlEtykIiglBqDNQGNw4SNHqM6nAEuvF3sv/\n27CYb2JGFuPdq+UVAOHk4b93dH6uS95ipA8DV97psRVP3P1EqkGjGISTjf/2S4IG\n10Q0UhP4xxiRS2iCtaIq0fbvnrChqYRlYQYpkkRCCH+Q4FNKquSsqmWyCu5yfeQM\nMek+aT9KgvmCh05UCeqC1x7xPtSneNbpJpLD5zW8CcG7EYFDtIP8b9BPDlud47ZH\n5Y4/wyQQFHHLOaniTJVvEJZ7cIoXy2gOhvgcHpNryQKBgQDxNNtXnCfVK0JYNhnU\n5WCOX9NeW9Q79HldhTM5/EqsjA5H21j5S7A/duBSRfX7iou1hyXaa2p+J7rxF9sj\nNlwHPsKhprskxXaHJ7qU84gSmwORsTQQPmtTsizGwVsM330+Q2ZROaSEfDoUqH9+\nKBKs6K+FOldcTOrCZ+ILk8werwKBgQDwnQUrKATzRThVdD6Hcgt/F/SAizDmvtiT\nVvRcGkiV3EtB5Rx8zFNJ9GWrqSAArwIxTWgfYCYsvpUjbJW02Mg0Ufj2+YhjT713\nO9yViwUq996St9eLwGQO5FDMD8FYi7bRAiZEAeAeIEeveDRsNK15++8VVJVo7b2l\nzcapp5k3bQKBgQDSiJNHRhqSet6+xgIIDGoZ+1Qv0TFPX5UrZt8OpsK7FshEOhXQ\nCxt8WZN03HHXK9fEC4GjwwxBrwYB+BOjCYiMHmCd3j0M3HoXgDrgViyYKMuVuDk8\nUG83r5ZbqVuCwfO8i/HbxddueEvtyiD2CZ47ZCIHxKOKAe0K4Mex2UBaKwKBgQDi\nrEouOelP9Kn5dyVhHENQXBTu9DIBb1FAnO5fxjMTWxFa5qhLuYHNbfxKF24atsRu\nBepNhJryFCkT0jvGv2L8Ry0wHiwqwvhO14obJ3ia3iBEQAVDlt+sV9L2KvGOpTB4\n/nlmIA4u02I1IBziw02aWYkGo0SOMUo0ZQL+2PEykQKBgAV1uqiJlWuA9uPdFFJP\nZPL2YoOuTWdWfIwIb/UdsbUuTckCgqPIqUPi3HhiVSunOgcO7HWK3GD3j8k4XEbW\nG4y+Ik0lLrWzBl728tZe1GENzTf8aapElHlUfFSM4OlrTRBsbMOsQBcJNh7QbyoZ\nBHiZZTbRUY6xUR4DGYkCOksF", C0009.m30(f30short, 140, 32, 577));
                        JSONObject jSONObject2 = new JSONObject();
                        jSONObject2.put(C0008.m27(f30short, 172, 4, 1977), h2);
                        jSONObject2.put(C0001.m3(f30short, 176, 6, 396), oq);
                        fP.W(fP.j(), C0012.m37(f30short, 182, 49, 2782), jSONObject2.toString(), j(currentTimeMillis2), new L.yh(this) { // from class: com.github.catvod.spider.Kuaikan.1

                            /* renamed from: short, reason: not valid java name */
                            private static final short[] f31short = {522, 526, 512, 545, 522, 518, 631, 512, 516, 532, 566, 512, 532, 526, 549, 628, 515, 534, 514, 517, 518, 534, 530, 518, 518, 627, 512, 521, 518, 515, 516, 517, 558, 534, 524, 517, 544, 534, 516, 558, 542, 525, 626, 530, 513, 557, 546, 514, 544, 546, 530, 558, 626, 574, 553, 523, 524, 559, 557, 626, 514, 522, 513, 631, 589, 628, 564, 550, 560, 531, 574, 518, 524, 552, 535, 549, 545, 530, 516, 532, 541, 541, 534, 626, 534, 547, 565, 527, 559, 565, 526, 521, 544, 544, 565, 542, 575, 515, 563, 517, 616, 531, 528, 543, 552, 566, 532, 513, 620, 517, 525, 535, 639, 626, 513, 631, 561, 566, 639, 517, 625, 544, 520, 566, 513, 528, 559, 524, 616, 589, 630, 535, 526, 524, 546, 629, 560, 524, 555, 533, 533, 562, 541, 532, 520, 547, 530, 573, 524, 616, 628, 561, 573, 533, 527, 554, 533, 628, 525, 628, 524, 512, 565, 561, 521, 573, 561, 560, 518, 533, 527, 639, 544, 544, 639, 575, 541, 557, 549, 564, 550, 555, 548, 616, 544, 517, 556, 548, 529, 575, 532, 575, 512, 547, 589, 639, 557, 639, 565, 525, 627, 534, 559, 520, 532, 513, 559, 638, 513, 639, 517, 629, 560, 526, 515, 518, 534, 518, 517, 2782, 2755, 2761, 2753, 2767, 2782, 750, 739, 744, 757, 612, 629, 626, 609, 628, 617, 623, 622, 2504, 2509, 2520, 2509};
                            final Kuaikan V0;

                            {
                                this.V0 = this;
                                int m45 = C0015.m45();
                                int i2 = 1616;
                                while (true) {
                                    i2 ^= 1633;
                                    switch (i2) {
                                        case 14:
                                        case 49:
                                            i2 = m45 <= 0 ? 1709 : 1678;
                                        case 204:
                                            System.out.println(Float.valueOf(C0018.m55("0rhXC0UjPAK12wom2slRN")));
                                            break;
                                        case 239:
                                            break;
                                    }
                                    return;
                                }
                            }

                            @Override // com.github.catvod.spider.merge.L
                            public void onFailure(Call call, Exception exc) {
                            }

                            @Override // com.github.catvod.spider.merge.L
                            public String onResponse(String str) {
                                try {
                                    JSONObject jSONObject3 = new JSONObject(str);
                                    String Qy = this.V0.Qy(C0011.m35(f31short, 0, 219, 583), jSONObject3.getString(C0012.m37(f31short, 219, 6, 2730)));
                                    JSONObject jSONObject4 = new JSONObject(this.V0.j(Qy.substring(0, 16), Qy.substring(16, 32), jSONObject3.getString(C0011.m35(f31short, 225, 4, 652))));
                                    long unused = Kuaikan.V0 = jSONObject4.getLong(C0006.m18(f31short, 229, 8, 512)) * 1000;
                                    String unused2 = Kuaikan.h = jSONObject4.getString(C0015.m47(f31short, 237, 4, 2476));
                                    this.V0.Uf();
                                } catch (JSONException e) {
                                    int i2 = 1616;
                                    while (true) {
                                        i2 ^= 1633;
                                        switch (i2) {
                                            case 14:
                                                break;
                                            case 49:
                                                i2 = 1647;
                                                break;
                                        }
                                    }
                                }
                                return str;
                            }
                        });
                        int i2 = 1740;
                        while (true) {
                            i2 ^= 1757;
                            switch (i2) {
                                case 17:
                                    i2 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                    } catch (Throwable th) {
                        th.printStackTrace();
                        break;
                    }
                    break;
                case 239:
                    break;
            }
        }
        int m32 = C0009.m32();
        int i3 = 1864;
        while (true) {
            i3 ^= 1881;
            switch (i3) {
                case 17:
                    i3 = m32 >= 0 ? 48736 : 48705;
                case 47384:
                    break;
                case 47417:
                    System.out.println(Float.parseFloat(C0002.m7("7mHIQmW38TfsP0xe6")));
                    break;
                case 47483:
            }
            return;
        }
    }

    static /* synthetic */ void W(Kuaikan kuaikan, Context context, String str) {
        super.init(context, str);
        int m8 = C0002.m8();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m8 <= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Float.parseFloat(C0017.m53("ZcEM")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:36:0x0069. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:65:0x0097. Please report as an issue. */
    String Qy(String str, String str2) {
        int i;
        try {
            Cipher cipher = Cipher.getInstance(C0017.m52(f30short, 231, 20, 2186));
            cipher.init(2, (RSAPublicKey) KeyFactory.getInstance(C0006.m18(f30short, 251, 3, 2939)).generatePublic(new X509EncodedKeySpec(Base64.decode(str, 0))));
            byte[] decode = Base64.decode(str2, 0);
            ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
            int length = decode.length;
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                        break;
                    case 49:
                        if (length > 256) {
                            break;
                        } else {
                            i2 = 1709;
                        }
                    case 204:
                        byteArrayOutputStream.write(cipher.doFinal(decode));
                        int i3 = 1740;
                        while (true) {
                            i3 ^= 1757;
                            switch (i3) {
                                case 17:
                                    i3 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                        break;
                    case 239:
                        int length2 = decode.length;
                        int i4 = 0;
                        while (true) {
                            int i5 = 1864;
                            while (true) {
                                i5 ^= 1881;
                                switch (i5) {
                                    case 17:
                                        i5 = i4 < length2 ? 48736 : 48705;
                                    case 47384:
                                        break;
                                    case 47417:
                                        int i6 = i4 + 256;
                                        int i7 = 48767;
                                        while (true) {
                                            i7 ^= 48784;
                                            switch (i7) {
                                                case 14:
                                                case 45:
                                                    i = 256;
                                                    break;
                                                case 76:
                                                    i = length2 - i4;
                                                    int i8 = 48891;
                                                    while (true) {
                                                        i8 ^= 48908;
                                                        switch (i8) {
                                                            case 22:
                                                                break;
                                                            case 503:
                                                                i8 = 48922;
                                                        }
                                                        break;
                                                    }
                                                    break;
                                                case 239:
                                                    i7 = i6 > length2 ? 48860 : 48829;
                                            }
                                        }
                                        byteArrayOutputStream.write(cipher.doFinal(decode, i4, i));
                                        int i9 = 49666;
                                        while (true) {
                                            i9 ^= 49683;
                                            switch (i9) {
                                                case 17:
                                                    i9 = 49697;
                                                    break;
                                                case 50:
                                                    break;
                                            }
                                        }
                                        i4 = i6;
                                        break;
                                    case 47483:
                                }
                                break;
                            }
                        }
                        break;
                    default:
                        continue;
                }
                i2 = 1678;
            }
            byteArrayOutputStream.flush();
            byteArrayOutputStream.close();
            return new String(byteArrayOutputStream.toByteArray(), C0001.m3(f30short, 254, 5, 991));
        } catch (Exception e) {
            return "";
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:7:?, code lost:
    
        return;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public void Uf() {
        /*
            Method dump skipped, instructions count: 290
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Kuaikan.Uf():void");
    }

    /* JADX WARN: Code restructure failed: missing block: B:25:0x0051, code lost:
    
        r5 = r2;
     */
    /* JADX WARN: Code restructure failed: missing block: B:44:0x0084, code lost:
    
        r4 = r2;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.String categoryContent(java.lang.String r18, java.lang.String r19, boolean r20, java.util.HashMap<java.lang.String, java.lang.String> r21) {
        /*
            Method dump skipped, instructions count: 604
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Kuaikan.categoryContent(java.lang.String, java.lang.String, boolean, java.util.HashMap):java.lang.String");
    }

    public String detailContent(List<String> list) {
        try {
            V0();
            Init.getPackage();
            JSONObject jSONObject = new JSONObject();
            long currentTimeMillis = System.currentTimeMillis() / 1000;
            String u = u(C0005.m17(f30short, 579, 42, 359) + list.get(0) + currentTimeMillis + C0013.m41(f30short, 621, 6, 2269));
            jSONObject.put(C0003.m9(f30short, 627, 5, 3109), C0005.m17(f30short, 632, 10, 1509));
            jSONObject.put(C0012.m37(f30short, 642, 2, 373), list.get(0));
            jSONObject.put(C0015.m47(f30short, 644, 4, 701), u);
            jSONObject.put(C0017.m52(f30short, 648, 9, 2329), currentTimeMillis);
            String h2 = h(h.substring(0, 16), h.substring(16, 32), jSONObject.toString());
            String oq = oq("MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDitX/rWP6WWc3h\nDzUcfD8Hbw79yCB7rz18GEkjDapjlUVIa3P8FEQFoOchu7N+vdK6HQNsl2Bql4lv\nWOYuzRWNbLGQ7mNtMca28iCuPHck0AcJzOs9F6qruPL73eY7Ai7yvzs2IfEdyXSz\nHP/yXgEOi5ZEBfsBZEPMJw6vfHJVueuD/lh/LkoJ/gXEKMCM/pkIzGpBPd2TsIg8\nZdvOGMPy+MOnJb1Qfe0y3QQdc5VPVdZFWoWsM9RAenHmE3d1THb+uNZZZcnM1tV7\nxYgBbIhgHtXAZnWDWDRBM3xJPR3O9dfBHHt/tbyrZrSwK1IgwFgqfYm/tRbmp4y/\n1DhIF6mDAgMBAAECggEAIzDjS2gEFNiZ0a6nouVSb1f47sHq8OgR1jp619seMNkR\n6Rzs4xtON8VzO1REl47lsAgi6O9SgxlEtykIiglBqDNQGNw4SNHqM6nAEuvF3sv/\n27CYb2JGFuPdq+UVAOHk4b93dH6uS95ipA8DV97psRVP3P1EqkGjGISTjf/2S4IG\n10Q0UhP4xxiRS2iCtaIq0fbvnrChqYRlYQYpkkRCCH+Q4FNKquSsqmWyCu5yfeQM\nMek+aT9KgvmCh05UCeqC1x7xPtSneNbpJpLD5zW8CcG7EYFDtIP8b9BPDlud47ZH\n5Y4/wyQQFHHLOaniTJVvEJZ7cIoXy2gOhvgcHpNryQKBgQDxNNtXnCfVK0JYNhnU\n5WCOX9NeW9Q79HldhTM5/EqsjA5H21j5S7A/duBSRfX7iou1hyXaa2p+J7rxF9sj\nNlwHPsKhprskxXaHJ7qU84gSmwORsTQQPmtTsizGwVsM330+Q2ZROaSEfDoUqH9+\nKBKs6K+FOldcTOrCZ+ILk8werwKBgQDwnQUrKATzRThVdD6Hcgt/F/SAizDmvtiT\nVvRcGkiV3EtB5Rx8zFNJ9GWrqSAArwIxTWgfYCYsvpUjbJW02Mg0Ufj2+YhjT713\nO9yViwUq996St9eLwGQO5FDMD8FYi7bRAiZEAeAeIEeveDRsNK15++8VVJVo7b2l\nzcapp5k3bQKBgQDSiJNHRhqSet6+xgIIDGoZ+1Qv0TFPX5UrZt8OpsK7FshEOhXQ\nCxt8WZN03HHXK9fEC4GjwwxBrwYB+BOjCYiMHmCd3j0M3HoXgDrgViyYKMuVuDk8\nUG83r5ZbqVuCwfO8i/HbxddueEvtyiD2CZ47ZCIHxKOKAe0K4Mex2UBaKwKBgQDi\nrEouOelP9Kn5dyVhHENQXBTu9DIBb1FAnO5fxjMTWxFa5qhLuYHNbfxKF24atsRu\nBepNhJryFCkT0jvGv2L8Ry0wHiwqwvhO14obJ3ia3iBEQAVDlt+sV9L2KvGOpTB4\n/nlmIA4u02I1IBziw02aWYkGo0SOMUo0ZQL+2PEykQKBgAV1uqiJlWuA9uPdFFJP\nZPL2YoOuTWdWfIwIb/UdsbUuTckCgqPIqUPi3HhiVSunOgcO7HWK3GD3j8k4XEbW\nG4y+Ik0lLrWzBl728tZe1GENzTf8aapElHlUfFSM4OlrTRBsbMOsQBcJNh7QbyoZ\nBHiZZTbRUY6xUR4DGYkCOksF", h);
            JSONObject jSONObject2 = new JSONObject();
            jSONObject2.put(C0008.m27(f30short, 657, 4, 1269), h2);
            jSONObject2.put(C0009.m30(f30short, 661, 6, 1862), oq);
            JSONObject jSONObject3 = new JSONObject();
            fP.W(fP.j(), C0018.m56(f30short, 667, 47, 2951) + list.get(0) + C0002.m6(f30short, 714, 4, 716), jSONObject2.toString(), j(currentTimeMillis), new L.yh(this, list, jSONObject3) { // from class: com.github.catvod.spider.Kuaikan.4

                /* renamed from: short, reason: not valid java name */
                private static final short[] f34short = {775, 775, 775, 3020, 3011, 3023, 3015, 879, 866, 534, 1300, 1296, 1310, 1343, 1300, 1304, 1385, 1310, 1306, 1290, 1320, 1310, 1290, 1296, 1339, 1386, 1309, 1288, 1308, 1307, 1304, 1288, 1292, 1304, 1304, 1389, 1310, 1303, 1304, 1309, 1306, 1307, 1328, 1288, 1298, 1307, 1342, 1288, 1306, 1328, 1280, 1299, 1388, 1292, 1311, 1331, 1340, 1308, 1342, 1340, 1292, 1328, 1388, 1312, 1335, 1301, 1298, 1329, 1331, 1388, 1308, 1300, 1311, 1385, 1363, 1386, 1322, 1336, 1326, 1293, 1312, 1304, 1298, 1334, 1289, 1339, 1343, 1292, 1306, 1290, 1283, 1283, 1288, 1388, 1288, 1341, 1323, 1297, 1329, 1323, 1296, 1303, 1342, 1342, 1323, 1280, 1313, 1309, 1325, 1307, 1398, 1293, 1294, 1281, 1334, 1320, 1290, 1311, 1394, 1307, 1299, 1289, 1377, 1388, 1311, 1385, 1327, 1320, 1377, 1307, 1391, 1342, 1302, 1320, 1311, 1294, 1329, 1298, 1398, 1363, 1384, 1289, 1296, 1298, 1340, 1387, 1326, 1298, 1333, 1291, 1291, 1324, 1283, 1290, 1302, 1341, 1292, 1315, 1298, 1398, 1386, 1327, 1315, 1291, 1297, 1332, 1291, 1386, 1299, 1386, 1298, 1310, 1323, 1327, 1303, 1315, 1327, 1326, 1304, 1291, 1297, 1377, 1342, 1342, 1377, 1313, 1283, 1331, 1339, 1322, 1336, 1333, 1338, 1398, 1342, 1307, 1330, 1338, 1295, 1313, 1290, 1313, 1310, 1341, 1363, 1377, 1331, 1377, 1323, 1299, 1389, 1288, 1329, 1302, 1290, 1311, 1329, 1376, 1311, 1377, 1307, 1387, 1326, 1296, 1309, 1304, 1288, 1304, 1307, 1124, 1145, 1139, 1147, 1141, 1124, 763, 758, 765, 736, 617, 620, 633, 620, 2973, 2948, 2959, 2996, 2946, 2959, 819, 810, 801, 794, 811, 804, 808, 800, 890, 867, 872, 851, 892, 869, 879, 2580, 2573, 2567, 1943, 1934, 1925, 1982, 1944, 1924, 1920, 1939, 2561, 2589, 2585, 2570, 1251, 1274, 1265, 1226, 1255, 1264, 1272, 1268, 1255, 1278, 1254, 3059, 3057, 3052, 3044, 3057, 3046, 3056, 3056, 286, 263, 268, 311, 265, 267, 284, 263, 282, 2828, 2830, 2841, 2818, 2847, 3300, 3325, 3318, 3277, 3318, 3323, 3296, 3319, 3313, 3302, 3325, 3296, 761, 756, 751, 760, 766, 745, 754, 751, 1907, 1898, 1889, 1882, 1894, 1898, 1899, 1905, 1888, 1899, 1905, 2180, 2184, 2185, 2195, 2178, 2185, 2195, 1526, 1526, 1526, 1522, 1446, 1521, 1442, 1531, 1521, 1442, 1521, 1522, 1442, 1530, 1442, 1522, 3240, 3324, 3313, 3327, 3242, 3324, 3323, 3322, 3327, 3323, 3321, 3327, 3240, 3323, 3242, 3243, 1086, 1077, 1063, 1024, 1084, 1073, 1065, 1074, 1073, 1075, 1083, 1315, 1334, 1327, 1333, 1321, 1314, 1315, 1333, 2248, 2261, 2248, 2256, 2265, 929, 934, 952, 3030, 3031, 3013, 2990, 3003, 824, 2406, 472, 449, 458, 497, 478, 450, 463, 471, 497, 456, 476, 449, 451, 1746, 1739, 1728, 1787, 1748, 1736, 1733, 1757, 1787, 1745, 1750, 1736, 2451, 2454, 2444, 2443};
                final List V0;
                final JSONObject j;
                final Kuaikan q;

                {
                    this.q = this;
                    this.V0 = list;
                    this.j = jSONObject3;
                    int m51 = C0017.m51();
                    int i = 1616;
                    while (true) {
                        i ^= 1633;
                        switch (i) {
                            case 14:
                            case 49:
                                i = m51 <= 0 ? 1709 : 1678;
                            case 204:
                                System.out.println(Double.parseDouble(C0000.m2("disSx5avFPYB90H5ff")));
                                break;
                            case 239:
                                break;
                        }
                        return;
                    }
                }

                @Override // com.github.catvod.spider.merge.L
                public void onFailure(Call call, Exception exc) {
                }

                /* JADX WARN: Failed to find 'out' block for switch in B:26:0x0204. Please report as an issue. */
                /* JADX WARN: Failed to find 'out' block for switch in B:6:0x01cd. Please report as an issue. */
                @Override // com.github.catvod.spider.merge.L
                public String onResponse(String str) {
                    JSONArray jSONArray;
                    JSONObject jSONObject4;
                    JSONArray jSONArray2;
                    LinkedHashMap linkedHashMap;
                    int i;
                    String m26 = C0007.m26(f34short, 0, 3, 803);
                    String m52 = C0017.m52(f34short, 3, 4, 2978);
                    String m1 = C0000.m1(f34short, 7, 2, 774);
                    String m56 = C0018.m56(f34short, 9, 1, 618);
                    try {
                        JSONObject jSONObject5 = new JSONObject(str);
                        String Qy = this.q.Qy(C0009.m30(f34short, 10, 219, 1369), jSONObject5.getString(C0005.m17(f34short, 229, 6, 1040)));
                        JSONObject jSONObject6 = new JSONObject(this.q.j(Qy.substring(0, 16), Qy.substring(16, 32), jSONObject5.getString(C0015.m47(f34short, 235, 4, 665)))).getJSONObject(C0007.m26(f34short, 239, 4, 525));
                        jSONArray = new JSONArray();
                        jSONObject4 = new JSONObject();
                        jSONObject4.put(C0017.m52(f34short, 243, 6, 3051), jSONObject6.getString(m1));
                        jSONObject4.put(C0000.m1(f34short, 249, 8, 837), jSONObject6.getString(m52));
                        jSONObject4.put(C0009.m30(f34short, 257, 7, 780), jSONObject6.getString(C0002.m6(f34short, 264, 3, 2660)));
                        jSONObject4.put(C0006.m18(f34short, 267, 8, 2017), jSONObject6.getString(C0005.m17(f34short, 275, 4, 2680)));
                        jSONObject4.put(C0004.m12(f34short, 279, 11, 1173), jSONObject6.getString(C0006.m18(f34short, 290, 8, 2947)));
                        jSONObject4.put(C0018.m56(f34short, 298, 9, 360), jSONObject6.getString(C0000.m1(f34short, 307, 5, 2925)));
                        jSONObject4.put(C0015.m47(f34short, 312, 12, 3218), jSONObject6.getString(C0003.m9(f34short, 324, 8, 669)));
                        jSONObject4.put(C0011.m35(f34short, 332, 11, 1797), "" + jSONObject6.getString(C0000.m1(f34short, 343, 7, 2279)).trim());
                        jSONArray2 = new JSONArray(this.q.j(C0003.m9(f34short, 350, 16, 1475), C0003.m9(f34short, 366, 16, 3273), jSONObject6.getString(C0012.m37(f34short, 382, 11, 1104))));
                        linkedHashMap = new LinkedHashMap();
                        i = 0;
                    } catch (Throwable th) {
                        int i2 = 48891;
                        while (true) {
                            i2 ^= 48908;
                            switch (i2) {
                                case 22:
                                    break;
                                case 503:
                                    i2 = 48922;
                                    break;
                            }
                        }
                    }
                    while (true) {
                        int i3 = 0;
                        int length = jSONArray2.length();
                        int i4 = 1616;
                        while (true) {
                            i4 ^= 1633;
                            switch (i4) {
                                case 14:
                                case 49:
                                    i4 = i < length ? 1709 : 1678;
                                case 204:
                                    JSONObject jSONObject7 = jSONArray2.getJSONObject(i);
                                    String string = jSONObject7.getString(m52);
                                    String string2 = jSONObject7.getString(m1);
                                    JSONArray jSONArray3 = jSONObject7.getJSONArray(C0002.m6(f34short, 393, 8, 1350));
                                    ArrayList arrayList = new ArrayList();
                                    while (true) {
                                        int length2 = jSONArray3.length();
                                        int i5 = 1740;
                                        while (true) {
                                            i5 ^= 1757;
                                            switch (i5) {
                                                case 17:
                                                    i5 = i3 < length2 ? 1833 : 1802;
                                                case 54:
                                                case 471:
                                                    break;
                                                case 500:
                                                    JSONObject jSONObject8 = jSONArray3.getJSONObject(i3);
                                                    String string3 = jSONObject8.getString(C0013.m41(f34short, 401, 5, 2236));
                                                    StringBuilder sb = new StringBuilder();
                                                    sb.append(string3);
                                                    sb.append(m56);
                                                    sb.append((String) this.V0.get(0));
                                                    sb.append(m56);
                                                    sb.append(string2);
                                                    sb.append(m56);
                                                    sb.append(jSONObject8.getString(C0005.m17(f34short, 406, 3, 980)));
                                                    String encodeToString = Base64.encodeToString(sb.toString().getBytes(C0008.m27(f34short, 409, 5, 2947)), 10);
                                                    StringBuilder sb2 = new StringBuilder();
                                                    sb2.append(string3);
                                                    sb2.append(C0005.m17(f34short, 414, 1, 796));
                                                    sb2.append(encodeToString);
                                                    arrayList.add(sb2.toString());
                                                    i3++;
                                                    int i6 = 1864;
                                                    while (true) {
                                                        i6 ^= 1881;
                                                        switch (i6) {
                                                            case 17:
                                                                i6 = 48674;
                                                                break;
                                                            case 47483:
                                                                break;
                                                        }
                                                    }
                                                    break;
                                            }
                                            linkedHashMap.put(string, TextUtils.join(C0003.m9(f34short, 415, 1, 2373), arrayList));
                                            int i7 = i + 1;
                                            int i8 = 48767;
                                            while (true) {
                                                i8 ^= 48784;
                                                switch (i8) {
                                                    case 14:
                                                        break;
                                                    case 239:
                                                        i8 = 48798;
                                                        break;
                                                }
                                            }
                                            i = i7;
                                        }
                                    }
                                    break;
                                case 239:
                                    break;
                            }
                            String join = TextUtils.join(m26, linkedHashMap.keySet());
                            String join2 = TextUtils.join(m26, linkedHashMap.values());
                            jSONObject4.put(C0009.m30(f34short, 416, 13, 430), join);
                            jSONObject4.put(C0005.m17(f34short, 429, 12, 1700), join2);
                            jSONArray.put(jSONObject4);
                            this.j.put(C0018.m56(f34short, 441, 4, 2559), jSONArray);
                        }
                        return str;
                    }
                }
            });
            return jSONObject3.toString();
        } catch (Exception e) {
            SpiderDebug.log(e);
            return "";
        }
    }

    String h(String str, String str2, String str3) {
        try {
            SecretKeySpec secretKeySpec = new SecretKeySpec(str.getBytes(), C0005.m17(f30short, 718, 3, 979));
            Cipher cipher = Cipher.getInstance(C0018.m56(f30short, 721, 20, 2899));
            cipher.init(1, secretKeySpec, new IvParameterSpec(str2.getBytes()));
            return Base64.encodeToString(cipher.doFinal(str3.getBytes()), 2);
        } catch (Throwable th) {
            th.printStackTrace();
            return "";
        }
    }

    public String homeContent(boolean z) {
        try {
            V0();
            JSONObject jSONObject = new JSONObject();
            long currentTimeMillis = System.currentTimeMillis() / 1000;
            String u = u(C0001.m3(f30short, 741, 42, 1846) + currentTimeMillis + C0004.m12(f30short, 783, 6, 1639));
            jSONObject.put(C0013.m41(f30short, 789, 5, 776), C0000.m1(f30short, 794, 10, 1093));
            jSONObject.put(C0015.m47(f30short, 804, 4, 2460), u);
            jSONObject.put(C0009.m30(f30short, 808, 9, 2331), currentTimeMillis);
            String h2 = h(h.substring(0, 16), h.substring(16, 32), jSONObject.toString());
            String oq = oq("MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDitX/rWP6WWc3h\nDzUcfD8Hbw79yCB7rz18GEkjDapjlUVIa3P8FEQFoOchu7N+vdK6HQNsl2Bql4lv\nWOYuzRWNbLGQ7mNtMca28iCuPHck0AcJzOs9F6qruPL73eY7Ai7yvzs2IfEdyXSz\nHP/yXgEOi5ZEBfsBZEPMJw6vfHJVueuD/lh/LkoJ/gXEKMCM/pkIzGpBPd2TsIg8\nZdvOGMPy+MOnJb1Qfe0y3QQdc5VPVdZFWoWsM9RAenHmE3d1THb+uNZZZcnM1tV7\nxYgBbIhgHtXAZnWDWDRBM3xJPR3O9dfBHHt/tbyrZrSwK1IgwFgqfYm/tRbmp4y/\n1DhIF6mDAgMBAAECggEAIzDjS2gEFNiZ0a6nouVSb1f47sHq8OgR1jp619seMNkR\n6Rzs4xtON8VzO1REl47lsAgi6O9SgxlEtykIiglBqDNQGNw4SNHqM6nAEuvF3sv/\n27CYb2JGFuPdq+UVAOHk4b93dH6uS95ipA8DV97psRVP3P1EqkGjGISTjf/2S4IG\n10Q0UhP4xxiRS2iCtaIq0fbvnrChqYRlYQYpkkRCCH+Q4FNKquSsqmWyCu5yfeQM\nMek+aT9KgvmCh05UCeqC1x7xPtSneNbpJpLD5zW8CcG7EYFDtIP8b9BPDlud47ZH\n5Y4/wyQQFHHLOaniTJVvEJZ7cIoXy2gOhvgcHpNryQKBgQDxNNtXnCfVK0JYNhnU\n5WCOX9NeW9Q79HldhTM5/EqsjA5H21j5S7A/duBSRfX7iou1hyXaa2p+J7rxF9sj\nNlwHPsKhprskxXaHJ7qU84gSmwORsTQQPmtTsizGwVsM330+Q2ZROaSEfDoUqH9+\nKBKs6K+FOldcTOrCZ+ILk8werwKBgQDwnQUrKATzRThVdD6Hcgt/F/SAizDmvtiT\nVvRcGkiV3EtB5Rx8zFNJ9GWrqSAArwIxTWgfYCYsvpUjbJW02Mg0Ufj2+YhjT713\nO9yViwUq996St9eLwGQO5FDMD8FYi7bRAiZEAeAeIEeveDRsNK15++8VVJVo7b2l\nzcapp5k3bQKBgQDSiJNHRhqSet6+xgIIDGoZ+1Qv0TFPX5UrZt8OpsK7FshEOhXQ\nCxt8WZN03HHXK9fEC4GjwwxBrwYB+BOjCYiMHmCd3j0M3HoXgDrgViyYKMuVuDk8\nUG83r5ZbqVuCwfO8i/HbxddueEvtyiD2CZ47ZCIHxKOKAe0K4Mex2UBaKwKBgQDi\nrEouOelP9Kn5dyVhHENQXBTu9DIBb1FAnO5fxjMTWxFa5qhLuYHNbfxKF24atsRu\nBepNhJryFCkT0jvGv2L8Ry0wHiwqwvhO14obJ3ia3iBEQAVDlt+sV9L2KvGOpTB4\n/nlmIA4u02I1IBziw02aWYkGo0SOMUo0ZQL+2PEykQKBgAV1uqiJlWuA9uPdFFJP\nZPL2YoOuTWdWfIwIb/UdsbUuTckCgqPIqUPi3HhiVSunOgcO7HWK3GD3j8k4XEbW\nG4y+Ik0lLrWzBl728tZe1GENzTf8aapElHlUfFSM4OlrTRBsbMOsQBcJNh7QbyoZ\nBHiZZTbRUY6xUR4DGYkCOksF", h);
            JSONObject jSONObject2 = new JSONObject();
            jSONObject2.put(C0001.m3(f30short, 817, 4, 1349), h2);
            jSONObject2.put(C0006.m18(f30short, 821, 6, 3043), oq);
            JSONObject jSONObject3 = new JSONObject();
            JSONArray jSONArray = new JSONArray();
            fP.W(fP.j(), C0004.m12(f30short, 827, 50, 2038), jSONObject2.toString(), j(currentTimeMillis), new AnonymousClass5(this, jSONArray, jSONObject3));
            JSONObject jSONObject4 = new JSONObject();
            jSONObject4.put(C0007.m26(f30short, 877, 5, 2087), jSONArray);
            int i = 1616;
            while (true) {
                i ^= 1633;
                switch (i) {
                    case 14:
                        break;
                    case 49:
                        if (!z) {
                            break;
                        } else {
                            i = 1709;
                        }
                    case 204:
                        jSONObject4.put(C0001.m3(f30short, 882, 7, 3196), jSONObject3);
                        break;
                    case 239:
                        break;
                    default:
                        continue;
                }
                i = 1678;
            }
            return jSONObject4.toString();
        } catch (Exception e) {
            SpiderDebug.log(e);
            return "";
        }
    }

    public String homeVideoContent() {
        try {
            V0();
            JSONObject jSONObject = new JSONObject();
            long currentTimeMillis = System.currentTimeMillis() / 1000;
            String u = u(C0012.m37(f30short, 889, 45, 3251) + currentTimeMillis + C0002.m6(f30short, 934, 6, 1120));
            jSONObject.put(C0003.m9(f30short, 940, 5, 982), C0018.m56(f30short, 945, 10, 2042));
            jSONObject.put(C0006.m18(f30short, 955, 2, 2622), 115);
            jSONObject.put(C0002.m6(f30short, 957, 4, 1441), u);
            jSONObject.put(C0015.m47(f30short, 961, 9, 1953), currentTimeMillis);
            String h2 = h(h.substring(0, 16), h.substring(16, 32), jSONObject.toString());
            String oq = oq("MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDitX/rWP6WWc3h\nDzUcfD8Hbw79yCB7rz18GEkjDapjlUVIa3P8FEQFoOchu7N+vdK6HQNsl2Bql4lv\nWOYuzRWNbLGQ7mNtMca28iCuPHck0AcJzOs9F6qruPL73eY7Ai7yvzs2IfEdyXSz\nHP/yXgEOi5ZEBfsBZEPMJw6vfHJVueuD/lh/LkoJ/gXEKMCM/pkIzGpBPd2TsIg8\nZdvOGMPy+MOnJb1Qfe0y3QQdc5VPVdZFWoWsM9RAenHmE3d1THb+uNZZZcnM1tV7\nxYgBbIhgHtXAZnWDWDRBM3xJPR3O9dfBHHt/tbyrZrSwK1IgwFgqfYm/tRbmp4y/\n1DhIF6mDAgMBAAECggEAIzDjS2gEFNiZ0a6nouVSb1f47sHq8OgR1jp619seMNkR\n6Rzs4xtON8VzO1REl47lsAgi6O9SgxlEtykIiglBqDNQGNw4SNHqM6nAEuvF3sv/\n27CYb2JGFuPdq+UVAOHk4b93dH6uS95ipA8DV97psRVP3P1EqkGjGISTjf/2S4IG\n10Q0UhP4xxiRS2iCtaIq0fbvnrChqYRlYQYpkkRCCH+Q4FNKquSsqmWyCu5yfeQM\nMek+aT9KgvmCh05UCeqC1x7xPtSneNbpJpLD5zW8CcG7EYFDtIP8b9BPDlud47ZH\n5Y4/wyQQFHHLOaniTJVvEJZ7cIoXy2gOhvgcHpNryQKBgQDxNNtXnCfVK0JYNhnU\n5WCOX9NeW9Q79HldhTM5/EqsjA5H21j5S7A/duBSRfX7iou1hyXaa2p+J7rxF9sj\nNlwHPsKhprskxXaHJ7qU84gSmwORsTQQPmtTsizGwVsM330+Q2ZROaSEfDoUqH9+\nKBKs6K+FOldcTOrCZ+ILk8werwKBgQDwnQUrKATzRThVdD6Hcgt/F/SAizDmvtiT\nVvRcGkiV3EtB5Rx8zFNJ9GWrqSAArwIxTWgfYCYsvpUjbJW02Mg0Ufj2+YhjT713\nO9yViwUq996St9eLwGQO5FDMD8FYi7bRAiZEAeAeIEeveDRsNK15++8VVJVo7b2l\nzcapp5k3bQKBgQDSiJNHRhqSet6+xgIIDGoZ+1Qv0TFPX5UrZt8OpsK7FshEOhXQ\nCxt8WZN03HHXK9fEC4GjwwxBrwYB+BOjCYiMHmCd3j0M3HoXgDrgViyYKMuVuDk8\nUG83r5ZbqVuCwfO8i/HbxddueEvtyiD2CZ47ZCIHxKOKAe0K4Mex2UBaKwKBgQDi\nrEouOelP9Kn5dyVhHENQXBTu9DIBb1FAnO5fxjMTWxFa5qhLuYHNbfxKF24atsRu\nBepNhJryFCkT0jvGv2L8Ry0wHiwqwvhO14obJ3ia3iBEQAVDlt+sV9L2KvGOpTB4\n/nlmIA4u02I1IBziw02aWYkGo0SOMUo0ZQL+2PEykQKBgAV1uqiJlWuA9uPdFFJP\nZPL2YoOuTWdWfIwIb/UdsbUuTckCgqPIqUPi3HhiVSunOgcO7HWK3GD3j8k4XEbW\nG4y+Ik0lLrWzBl728tZe1GENzTf8aapElHlUfFSM4OlrTRBsbMOsQBcJNh7QbyoZ\nBHiZZTbRUY6xUR4DGYkCOksF", h);
            JSONObject jSONObject2 = new JSONObject();
            jSONObject2.put(C0017.m52(f30short, 970, 4, 2774), h2);
            jSONObject2.put(C0018.m56(f30short, 974, 6, 1834), oq);
            JSONArray jSONArray = new JSONArray();
            fP.W(fP.j(), C0014.m43(f30short, 980, 53, 1873), jSONObject2.toString(), j(currentTimeMillis), new L.yh(this, jSONArray) { // from class: com.github.catvod.spider.Kuaikan.6

                /* renamed from: short, reason: not valid java name */
                private static final short[] f37short = {774, 770, 780, 813, 774, 778, 891, 780, 776, 792, 826, 780, 792, 770, 809, 888, 783, 794, 782, 777, 778, 794, 798, 778, 778, 895, 780, 773, 778, 783, 776, 777, 802, 794, 768, 777, 812, 794, 776, 802, 786, 769, 894, 798, 781, 801, 814, 782, 812, 814, 798, 802, 894, 818, 805, 775, 768, 803, 801, 894, 782, 774, 781, 891, 833, 888, 824, 810, 828, 799, 818, 778, 768, 804, 795, 809, 813, 798, 776, 792, 785, 785, 794, 894, 794, 815, 825, 771, 803, 825, 770, 773, 812, 812, 825, 786, 819, 783, 831, 777, 868, 799, 796, 787, 804, 826, 792, 781, 864, 777, 769, 795, 883, 894, 781, 891, 829, 826, 883, 777, 893, 812, 772, 826, 781, 796, 803, 768, 868, 833, 890, 795, 770, 768, 814, 889, 828, 768, 807, 793, 793, 830, 785, 792, 772, 815, 798, 817, 768, 868, 888, 829, 817, 793, 771, 806, 793, 888, 769, 888, 768, 780, 825, 829, 773, 817, 829, 828, 778, 793, 771, 883, 812, 812, 883, 819, 785, 801, 809, 824, 810, 807, 808, 868, 812, 777, 800, 808, 797, 819, 792, 819, 780, 815, 833, 883, 801, 883, 825, 769, 895, 794, 803, 772, 792, 781, 803, 882, 781, 883, 777, 889, 828, 770, 783, 778, 794, 778, 777, 2306, 2335, 2325, 2333, 2323, 2306, 2206, 2195, 2200, 2181, 1531, 1533, 1514, 1487, 1517, 1510, 1530, 1517, 1531, 1020, 1005, 997, 1016, 996, 1001, 1020, 1005, 1806, 1809, 1820, 1821, 1815, 3030, 3023, 3012, 3071, 3017, 3012, 1367, 1370, 2752, 2777, 2770, 2793, 2776, 2775, 2779, 2771, 2850, 2861, 2849, 2857, 634, 611, 616, 595, 636, 613, 623, 448, 473, 467, 2581, 2572, 2567, 2620, 2577, 2566, 2574, 2562, 2577, 2568, 2576, 3030, 3028, 3017, 3009, 3028, 3011, 3029, 3029};
                final JSONArray V0;
                final Kuaikan j;

                {
                    this.j = this;
                    this.V0 = jSONArray;
                    int m13 = C0004.m13();
                    int i = 1616;
                    while (true) {
                        i ^= 1633;
                        switch (i) {
                            case 14:
                            case 49:
                                i = m13 <= 0 ? 1709 : 1678;
                            case 204:
                                System.out.println(Double.parseDouble(C0017.m53("OxjrgoyRIqzeeZVTghe3gXWqNLN")));
                                break;
                            case 239:
                                break;
                        }
                        return;
                    }
                }

                @Override // com.github.catvod.spider.merge.L
                public void onFailure(Call call, Exception exc) {
                }

                /* JADX WARN: Failed to find 'out' block for switch in B:23:0x008c. Please report as an issue. */
                /* JADX WARN: Failed to find 'out' block for switch in B:39:0x00b5. Please report as an issue. */
                /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0068. Please report as an issue. */
                @Override // com.github.catvod.spider.merge.L
                public String onResponse(String str) {
                    JSONArray jSONArray2;
                    int i;
                    try {
                        JSONObject jSONObject3 = new JSONObject(str);
                        String Qy = this.j.Qy(C0011.m35(f37short, 0, 219, 843), jSONObject3.getString(C0018.m56(f37short, 219, 6, 2422)));
                        jSONArray2 = new JSONObject(this.j.j(Qy.substring(0, 16), Qy.substring(16, 32), jSONObject3.getString(C0015.m47(f37short, 225, 4, 2300)))).getJSONArray(C0015.m47(f37short, 229, 9, 1416));
                        i = 0;
                    } catch (JSONException e) {
                        int i2 = 49666;
                        while (true) {
                            i2 ^= 49683;
                            switch (i2) {
                                case 17:
                                    i2 = 49697;
                                    break;
                                case 50:
                                    break;
                            }
                        }
                    }
                    while (true) {
                        int length = jSONArray2.length();
                        int i3 = 1616;
                        while (true) {
                            i3 ^= 1633;
                            switch (i3) {
                                case 14:
                                case 49:
                                    i3 = i < length ? 1709 : 1678;
                                case 204:
                                    int i4 = jSONArray2.getJSONObject(i).getInt(C0002.m6(f37short, 238, 8, 904));
                                    int i5 = 1740;
                                    while (true) {
                                        i5 ^= 1757;
                                        switch (i5) {
                                            case 17:
                                                i5 = i4 == 1 ? 1833 : 1802;
                                            case 54:
                                            case 471:
                                                break;
                                            case 500:
                                                JSONArray jSONArray3 = jSONArray2.getJSONObject(i).getJSONArray(C0015.m47(f37short, 246, 5, 1912));
                                                int i6 = 0;
                                                while (true) {
                                                    int length2 = jSONArray3.length();
                                                    int i7 = 1864;
                                                    while (true) {
                                                        i7 ^= 1881;
                                                        switch (i7) {
                                                            case 17:
                                                                i7 = i6 < length2 ? 48736 : 48705;
                                                            case 47384:
                                                                break;
                                                            case 47417:
                                                                JSONObject jSONObject4 = jSONArray3.getJSONObject(i6);
                                                                JSONObject jSONObject5 = new JSONObject();
                                                                jSONObject5.put(C0012.m37(f37short, 251, 6, 2976), jSONObject4.getString(C0000.m1(f37short, 257, 2, 1342)));
                                                                jSONObject5.put(C0007.m26(f37short, 259, 8, 2742), jSONObject4.getString(C0001.m3(f37short, 267, 4, 2892)));
                                                                jSONObject5.put(C0004.m12(f37short, 271, 7, 524), jSONObject4.getString(C0004.m12(f37short, 278, 3, 432)));
                                                                jSONObject5.put(C0009.m30(f37short, 281, 11, 2659), jSONObject4.getString(C0005.m17(f37short, 292, 8, 2982)));
                                                                this.V0.put(jSONObject5);
                                                                i6++;
                                                                int i8 = 48767;
                                                                while (true) {
                                                                    i8 ^= 48784;
                                                                    switch (i8) {
                                                                        case 14:
                                                                            break;
                                                                        case 239:
                                                                            i8 = 48798;
                                                                            break;
                                                                    }
                                                                }
                                                                break;
                                                            case 47483:
                                                        }
                                                    }
                                                }
                                                break;
                                        }
                                    }
                                    int i9 = i + 1;
                                    int i10 = 48891;
                                    while (true) {
                                        i10 ^= 48908;
                                        switch (i10) {
                                            case 22:
                                                break;
                                            case 503:
                                                i10 = 48922;
                                                break;
                                        }
                                    }
                                    i = i9;
                                    break;
                                case 239:
                                    break;
                            }
                        }
                        return str;
                    }
                }
            });
            JSONObject jSONObject3 = new JSONObject();
            jSONObject3.put(C0005.m17(f30short, 1033, 4, 1095), jSONArray);
            return jSONObject3.toString();
        } catch (Exception e) {
            SpiderDebug.log(e);
            return "";
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:18:0x0049, code lost:
    
        com.github.catvod.spider.Kuaikan.j = u(java.util.UUID.randomUUID().toString()).toLowerCase();
        r2.edit().putString(r1, com.github.catvod.spider.Kuaikan.j).commit();
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public void init(android.content.Context r6, java.lang.String r7) {
        /*
            r5 = this;
            short[] r0 = com.github.catvod.spider.Kuaikan.f30short
            r1 = 1037(0x40d, float:1.453E-42)
            r2 = 4
            r3 = 3199(0xc7f, float:4.483E-42)
            java.lang.String r1 = com.github.catvod.spider.merge.C0015.m47(r0, r1, r2, r3)
            W(r5, r6, r7)
            short[] r0 = com.github.catvod.spider.Kuaikan.f30short
            r2 = 1041(0x411, float:1.459E-42)
            r3 = 14
            r4 = 3004(0xbbc, float:4.21E-42)
            java.lang.String r0 = com.github.catvod.spider.merge.C0012.m37(r0, r2, r3, r4)
            r2 = 0
            android.content.SharedPreferences r2 = r6.getSharedPreferences(r0, r2)
            r0 = 0
            java.lang.String r3 = r2.getString(r1, r0)     // Catch: java.lang.Throwable -> L36
            com.github.catvod.spider.Kuaikan.j = r3     // Catch: java.lang.Throwable -> L36
            r0 = 1616(0x650, float:2.264E-42)
        L28:
            r0 = r0 ^ 1633(0x661, float:2.288E-42)
            switch(r0) {
                case 14: goto L2e;
                case 49: goto L31;
                case 204: goto L68;
                case 239: goto L49;
                default: goto L2d;
            }
        L2d:
            goto L28
        L2e:
            r0 = 1678(0x68e, float:2.351E-42)
            goto L28
        L31:
            if (r3 == 0) goto L2e
            r0 = 1709(0x6ad, float:2.395E-42)
            goto L28
        L36:
            r0 = move-exception
            java.lang.String r3 = com.github.catvod.spider.Kuaikan.j
            r0 = 1740(0x6cc, float:2.438E-42)
        L3b:
            r0 = r0 ^ 1757(0x6dd, float:2.462E-42)
            switch(r0) {
                case 17: goto L41;
                case 54: goto L46;
                case 471: goto L49;
                case 500: goto L68;
                default: goto L40;
            }
        L40:
            goto L3b
        L41:
            if (r3 == 0) goto L46
            r0 = 1833(0x729, float:2.569E-42)
            goto L3b
        L46:
            r0 = 1802(0x70a, float:2.525E-42)
            goto L3b
        L49:
            java.util.UUID r0 = java.util.UUID.randomUUID()
            java.lang.String r0 = r0.toString()
            java.lang.String r0 = r5.u(r0)
            java.lang.String r0 = r0.toLowerCase()
            com.github.catvod.spider.Kuaikan.j = r0
            android.content.SharedPreferences$Editor r0 = r2.edit()
            java.lang.String r2 = com.github.catvod.spider.Kuaikan.j
            android.content.SharedPreferences$Editor r0 = r0.putString(r1, r2)
            r0.commit()
        L68:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Kuaikan.init(android.content.Context, java.lang.String):void");
    }

    String j(String str, String str2, String str3) {
        try {
            SecretKeySpec secretKeySpec = new SecretKeySpec(str.getBytes(), C0005.m17(f30short, 1055, 3, 921));
            Cipher cipher = Cipher.getInstance(C0018.m56(f30short, 1058, 20, 2380));
            cipher.init(2, secretKeySpec, new IvParameterSpec(str2.getBytes()));
            return new String(cipher.doFinal(Base64.decode(str3, 0)), C0000.m1(f30short, 1078, 5, 1138));
        } catch (Throwable th) {
            th.printStackTrace();
            return "";
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:57:0x00fc, code lost:
    
        return r6;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.util.HashMap<java.lang.String, java.lang.String> j(long r12) {
        /*
            Method dump skipped, instructions count: 328
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Kuaikan.j(long):java.util.HashMap");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:36:0x0067. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:65:0x0095. Please report as an issue. */
    String oq(String str, String str2) {
        int i;
        try {
            PrivateKey generatePrivate = KeyFactory.getInstance(C0015.m47(f30short, 1199, 3, 2885)).generatePrivate(new PKCS8EncodedKeySpec(Base64.decode(str, 0)));
            Cipher cipher = Cipher.getInstance(C0002.m6(f30short, 1202, 20, 1640));
            cipher.init(1, generatePrivate);
            byte[] bytes = str2.getBytes();
            ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
            int length = bytes.length;
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                        break;
                    case 49:
                        if (length > 256) {
                            break;
                        } else {
                            i2 = 1709;
                        }
                    case 204:
                        byteArrayOutputStream.write(cipher.doFinal(bytes));
                        int i3 = 1740;
                        while (true) {
                            i3 ^= 1757;
                            switch (i3) {
                                case 17:
                                    i3 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                        break;
                    case 239:
                        int length2 = bytes.length;
                        int i4 = 0;
                        while (true) {
                            int length3 = bytes.length;
                            int i5 = 1864;
                            while (true) {
                                i5 ^= 1881;
                                switch (i5) {
                                    case 17:
                                        i5 = i4 < length3 ? 48736 : 48705;
                                    case 47384:
                                        break;
                                    case 47417:
                                        int i6 = i4 + 256;
                                        int i7 = 48767;
                                        while (true) {
                                            i7 ^= 48784;
                                            switch (i7) {
                                                case 14:
                                                case 45:
                                                    i = 256;
                                                    break;
                                                case 76:
                                                    i = length2 - i4;
                                                    int i8 = 48891;
                                                    while (true) {
                                                        i8 ^= 48908;
                                                        switch (i8) {
                                                            case 22:
                                                                break;
                                                            case 503:
                                                                i8 = 48922;
                                                        }
                                                        break;
                                                    }
                                                    break;
                                                case 239:
                                                    i7 = i6 > length2 ? 48860 : 48829;
                                            }
                                        }
                                        byteArrayOutputStream.write(cipher.doFinal(bytes, i4, i));
                                        int i9 = 49666;
                                        while (true) {
                                            i9 ^= 49683;
                                            switch (i9) {
                                                case 17:
                                                    i9 = 49697;
                                                    break;
                                                case 50:
                                                    break;
                                            }
                                        }
                                        i4 = i6;
                                        break;
                                    case 47483:
                                }
                                break;
                            }
                        }
                        break;
                    default:
                        continue;
                }
                i2 = 1678;
            }
            byteArrayOutputStream.flush();
            byteArrayOutputStream.close();
            return Base64.encodeToString(byteArrayOutputStream.toByteArray(), 2);
        } catch (Exception e) {
            e.printStackTrace();
            return "";
        }
    }

    public String playerContent(String str, String str2, List<String> list) {
        try {
            V0();
            String[] split = new String(Base64.decode(str2, 10), C0012.m37(f30short, 1222, 5, 3030)).split(C0014.m43(f30short, 1227, 2, 2567));
            ArrayList<String> arrayList = this.q.get(split[2]);
            JSONObject jSONObject = new JSONObject();
            String m37 = C0012.m37(f30short, 1229, 3, 3121);
            int i = 1616;
            while (true) {
                i ^= 1633;
                switch (i) {
                    case 14:
                    case 49:
                        i = arrayList != null ? 1709 : 1678;
                    case 204:
                        int size = arrayList.size();
                        int i2 = 1740;
                        while (true) {
                            i2 ^= 1757;
                            switch (i2) {
                                case 17:
                                    i2 = size > 0 ? 1833 : 1802;
                                case 54:
                                case 471:
                                    break;
                                case 500:
                                    Iterator<String> it = arrayList.iterator();
                                    while (true) {
                                        boolean hasNext = it.hasNext();
                                        int i3 = 1864;
                                        while (true) {
                                            i3 ^= 1881;
                                            switch (i3) {
                                                case 17:
                                                    i3 = hasNext ? 48736 : 48705;
                                                case 47384:
                                                    break;
                                                case 47417:
                                                    String next = it.next();
                                                    boolean has = jSONObject.has(m37);
                                                    int i4 = 48767;
                                                    while (true) {
                                                        i4 ^= 48784;
                                                        switch (i4) {
                                                            case 14:
                                                            case 45:
                                                                JSONObject jSONObject2 = new JSONObject();
                                                                long currentTimeMillis = System.currentTimeMillis() / 1000;
                                                                String u = u(C0012.m37(f30short, 1232, 42, 1195) + split[1] + split[0] + split[3] + currentTimeMillis + C0002.m6(f30short, 1274, 6, 1453));
                                                                jSONObject2.put(C0001.m3(f30short, 1280, 5, 1751), C0000.m1(f30short, 1285, 10, 2827));
                                                                jSONObject2.put(C0013.m41(f30short, 1295, 2, 2042), split[1]);
                                                                jSONObject2.put(C0001.m3(f30short, 1297, 5, 2496), split[0]);
                                                                jSONObject2.put(m37, split[3]);
                                                                jSONObject2.put(C0005.m17(f30short, 1302, 4, 2190), u);
                                                                jSONObject2.put(C0005.m17(f30short, 1306, 9, 3039), currentTimeMillis);
                                                                String h2 = h(h.substring(0, 16), h.substring(16, 32), jSONObject2.toString());
                                                                String oq = oq("MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDitX/rWP6WWc3h\nDzUcfD8Hbw79yCB7rz18GEkjDapjlUVIa3P8FEQFoOchu7N+vdK6HQNsl2Bql4lv\nWOYuzRWNbLGQ7mNtMca28iCuPHck0AcJzOs9F6qruPL73eY7Ai7yvzs2IfEdyXSz\nHP/yXgEOi5ZEBfsBZEPMJw6vfHJVueuD/lh/LkoJ/gXEKMCM/pkIzGpBPd2TsIg8\nZdvOGMPy+MOnJb1Qfe0y3QQdc5VPVdZFWoWsM9RAenHmE3d1THb+uNZZZcnM1tV7\nxYgBbIhgHtXAZnWDWDRBM3xJPR3O9dfBHHt/tbyrZrSwK1IgwFgqfYm/tRbmp4y/\n1DhIF6mDAgMBAAECggEAIzDjS2gEFNiZ0a6nouVSb1f47sHq8OgR1jp619seMNkR\n6Rzs4xtON8VzO1REl47lsAgi6O9SgxlEtykIiglBqDNQGNw4SNHqM6nAEuvF3sv/\n27CYb2JGFuPdq+UVAOHk4b93dH6uS95ipA8DV97psRVP3P1EqkGjGISTjf/2S4IG\n10Q0UhP4xxiRS2iCtaIq0fbvnrChqYRlYQYpkkRCCH+Q4FNKquSsqmWyCu5yfeQM\nMek+aT9KgvmCh05UCeqC1x7xPtSneNbpJpLD5zW8CcG7EYFDtIP8b9BPDlud47ZH\n5Y4/wyQQFHHLOaniTJVvEJZ7cIoXy2gOhvgcHpNryQKBgQDxNNtXnCfVK0JYNhnU\n5WCOX9NeW9Q79HldhTM5/EqsjA5H21j5S7A/duBSRfX7iou1hyXaa2p+J7rxF9sj\nNlwHPsKhprskxXaHJ7qU84gSmwORsTQQPmtTsizGwVsM330+Q2ZROaSEfDoUqH9+\nKBKs6K+FOldcTOrCZ+ILk8werwKBgQDwnQUrKATzRThVdD6Hcgt/F/SAizDmvtiT\nVvRcGkiV3EtB5Rx8zFNJ9GWrqSAArwIxTWgfYCYsvpUjbJW02Mg0Ufj2+YhjT713\nO9yViwUq996St9eLwGQO5FDMD8FYi7bRAiZEAeAeIEeveDRsNK15++8VVJVo7b2l\nzcapp5k3bQKBgQDSiJNHRhqSet6+xgIIDGoZ+1Qv0TFPX5UrZt8OpsK7FshEOhXQ\nCxt8WZN03HHXK9fEC4GjwwxBrwYB+BOjCYiMHmCd3j0M3HoXgDrgViyYKMuVuDk8\nUG83r5ZbqVuCwfO8i/HbxddueEvtyiD2CZ47ZCIHxKOKAe0K4Mex2UBaKwKBgQDi\nrEouOelP9Kn5dyVhHENQXBTu9DIBb1FAnO5fxjMTWxFa5qhLuYHNbfxKF24atsRu\nBepNhJryFCkT0jvGv2L8Ry0wHiwqwvhO14obJ3ia3iBEQAVDlt+sV9L2KvGOpTB4\n/nlmIA4u02I1IBziw02aWYkGo0SOMUo0ZQL+2PEykQKBgAV1uqiJlWuA9uPdFFJP\nZPL2YoOuTWdWfIwIb/UdsbUuTckCgqPIqUPi3HhiVSunOgcO7HWK3GD3j8k4XEbW\nG4y+Ik0lLrWzBl728tZe1GENzTf8aapElHlUfFSM4OlrTRBsbMOsQBcJNh7QbyoZ\nBHiZZTbRUY6xUR4DGYkCOksF", h);
                                                                JSONObject jSONObject3 = new JSONObject();
                                                                jSONObject3.put(C0011.m35(f30short, 1315, 4, 2166), h2);
                                                                jSONObject3.put(C0015.m47(f30short, 1319, 6, 1556), oq);
                                                                fP.W(fP.j(), next, jSONObject3.toString(), j(currentTimeMillis), new L.yh(this, jSONObject) { // from class: com.github.catvod.spider.Kuaikan.7

                                                                    /* renamed from: short, reason: not valid java name */
                                                                    private static final short[] f38short = {542, 537, 519, 2980, 2976, 2990, 2959, 2980, 2984, 3033, 2990, 2986, 3002, 2968, 2990, 3002, 2976, 2955, 3034, 2989, 3000, 2988, 2987, 2984, 3000, 3004, 2984, 2984, 3037, 2990, 2983, 2984, 2989, 2986, 2987, 2944, 3000, 2978, 2987, 2958, 3000, 2986, 2944, 2992, 2979, 3036, 3004, 2991, 2947, 2956, 2988, 2958, 2956, 3004, 2944, 3036, 2960, 2951, 2981, 2978, 2945, 2947, 3036, 2988, 2980, 2991, 3033, 3043, 3034, 2970, 2952, 2974, 3005, 2960, 2984, 2978, 2950, 3001, 2955, 2959, 3004, 2986, 3002, 2995, 2995, 3000, 3036, 3000, 2957, 2971, 2977, 2945, 2971, 2976, 2983, 2958, 2958, 2971, 2992, 2961, 2989, 2973, 2987, 3014, 3005, 3006, 2993, 2950, 2968, 3002, 2991, 3010, 2987, 2979, 3001, 3025, 3036, 2991, 3033, 2975, 2968, 3025, 2987, 3039, 2958, 2982, 2968, 2991, 3006, 2945, 2978, 3014, 3043, 3032, 3001, 2976, 2978, 2956, 3035, 2974, 2978, 2949, 3003, 3003, 2972, 2995, 3002, 2982, 2957, 3004, 2963, 2978, 3014, 3034, 2975, 2963, 3003, 2977, 2948, 3003, 3034, 2979, 3034, 2978, 2990, 2971, 2975, 2983, 2963, 2975, 2974, 2984, 3003, 2977, 3025, 2958, 2958, 3025, 2961, 2995, 2947, 2955, 2970, 2952, 2949, 2954, 3014, 2958, 2987, 2946, 2954, 3007, 2961, 3002, 2961, 2990, 2957, 3043, 3025, 2947, 3025, 2971, 2979, 3037, 3000, 2945, 2982, 3002, 2991, 2945, 3024, 2991, 3025, 2987, 3035, 2974, 2976, 2989, 2984, 3000, 2984, 2987, 3310, 3315, 3321, 3313, 3327, 3310, 2392, 2389, 2398, 2371, 882, 876, 888, 284, 282, 268, 268, 266, 284, 284, 2919, 2923, 2912, 2913, 990, 975, 988, 989, 971, 1640, 1637, 1633, 1636, 1637, 1650, 1792, 1820, 1809, 1801, 1829, 1794, 1820};
                                                                    final JSONObject V0;
                                                                    final Kuaikan j;

                                                                    {
                                                                        this.j = this;
                                                                        this.V0 = jSONObject;
                                                                        int m19 = C0006.m19();
                                                                        int i5 = 1616;
                                                                        while (true) {
                                                                            i5 ^= 1633;
                                                                            switch (i5) {
                                                                                case 14:
                                                                                case 49:
                                                                                    i5 = m19 <= 0 ? 1709 : 1678;
                                                                                case 204:
                                                                                    System.out.println(Double.parseDouble(C0018.m55("9fciiINQQVIq0NoR3ueRu8x5q")));
                                                                                    break;
                                                                                case 239:
                                                                                    break;
                                                                            }
                                                                            return;
                                                                        }
                                                                    }

                                                                    @Override // com.github.catvod.spider.merge.L
                                                                    public void onFailure(Call call, Exception exc) {
                                                                        int m16 = C0005.m16();
                                                                        int i5 = 1616;
                                                                        while (true) {
                                                                            i5 ^= 1633;
                                                                            switch (i5) {
                                                                                case 14:
                                                                                case 49:
                                                                                    i5 = m16 >= 0 ? 1709 : 1678;
                                                                                case 204:
                                                                                    System.out.println(Long.parseLong(C0018.m55("EcfITteTse6j")));
                                                                                    break;
                                                                                case 239:
                                                                                    break;
                                                                            }
                                                                            return;
                                                                        }
                                                                    }

                                                                    /* JADX WARN: Failed to find 'out' block for switch in B:19:0x009c. Please report as an issue. */
                                                                    /* JADX WARN: Failed to find 'out' block for switch in B:5:0x007c. Please report as an issue. */
                                                                    @Override // com.github.catvod.spider.merge.L
                                                                    public String onResponse(String str3) {
                                                                        String m27 = C0008.m27(f38short, 0, 3, 619);
                                                                        try {
                                                                            JSONObject jSONObject4 = new JSONObject(str3);
                                                                            String Qy = this.j.Qy(C0014.m43(f38short, 3, 219, 3049), jSONObject4.getString(C0007.m26(f38short, 222, 6, 3226)));
                                                                            JSONObject jSONObject5 = new JSONObject(this.j.j(Qy.substring(0, 16), Qy.substring(16, 32), jSONObject4.getString(C0014.m43(f38short, 228, 4, 2362))));
                                                                            boolean equals = jSONObject5.optString(C0008.m27(f38short, 232, 3, 799), "").equals(C0018.m56(f38short, 235, 7, 367));
                                                                            int i5 = 1616;
                                                                            while (true) {
                                                                                i5 ^= 1633;
                                                                                switch (i5) {
                                                                                    case 14:
                                                                                    case 49:
                                                                                        i5 = equals ? 1709 : 1678;
                                                                                    case 204:
                                                                                        int optInt = jSONObject5.optInt(C0001.m3(f38short, 242, 4, 2820), -1);
                                                                                        int i6 = 1740;
                                                                                        while (true) {
                                                                                            i6 ^= 1757;
                                                                                            switch (i6) {
                                                                                                case 17:
                                                                                                    i6 = optInt == 0 ? 1833 : 1802;
                                                                                                case 54:
                                                                                                case 471:
                                                                                                    break;
                                                                                                case 500:
                                                                                                    this.V0.put(C0017.m52(f38short, 246, 5, 942), 0);
                                                                                                    this.V0.put(C0002.m6(f38short, 251, 6, 1536), "");
                                                                                                    this.V0.put(C0015.m47(f38short, 257, 7, 1904), "");
                                                                                                    this.V0.put(m27, jSONObject5.getString(m27));
                                                                                                    break;
                                                                                            }
                                                                                        }
                                                                                        break;
                                                                                    case 239:
                                                                                        break;
                                                                                }
                                                                            }
                                                                        } catch (JSONException e) {
                                                                            int i7 = 1864;
                                                                            while (true) {
                                                                                i7 ^= 1881;
                                                                                switch (i7) {
                                                                                    case 17:
                                                                                        i7 = 48674;
                                                                                        break;
                                                                                    case 47483:
                                                                                        break;
                                                                                }
                                                                            }
                                                                        }
                                                                        return str3;
                                                                    }
                                                                });
                                                                int i5 = 49666;
                                                                while (true) {
                                                                    i5 ^= 49683;
                                                                    switch (i5) {
                                                                        case 17:
                                                                            i5 = 49697;
                                                                            break;
                                                                        case 50:
                                                                            break;
                                                                    }
                                                                }
                                                                break;
                                                            case 76:
                                                                int i6 = 48891;
                                                                while (true) {
                                                                    i6 ^= 48908;
                                                                    switch (i6) {
                                                                        case 22:
                                                                            break;
                                                                        case 503:
                                                                            i6 = 48922;
                                                                            continue;
                                                                        default:
                                                                            continue;
                                                                    }
                                                                }
                                                                break;
                                                            case 239:
                                                                i4 = has ? 48860 : 48829;
                                                        }
                                                    }
                                                    break;
                                                case 47483:
                                            }
                                        }
                                    }
                                    break;
                            }
                        }
                        break;
                    case 239:
                        break;
                }
            }
            boolean has2 = jSONObject.has(m37);
            int i7 = 49790;
            while (true) {
                i7 ^= 49807;
                switch (i7) {
                    case 18:
                        break;
                    case 51:
                        boolean I = CE.I(split[3]);
                        int i8 = 49914;
                        while (true) {
                            i8 ^= 49931;
                            switch (i8) {
                                case 497:
                                    if (I) {
                                        break;
                                    } else {
                                        i8 = 50658;
                                    }
                                case 1711:
                                    break;
                                case 1736:
                                    jSONObject.put(C0004.m12(f30short, 1325, 5, 2349), 0);
                                    jSONObject.put(C0002.m6(f30short, 1330, 6, 2657), "");
                                    jSONObject.put(C0007.m26(f30short, 1336, 7, 1240), "");
                                    jSONObject.put(m37, split[3]);
                                    return jSONObject.toString();
                                case 1769:
                                    return "";
                                default:
                                    continue;
                            }
                            i8 = 50627;
                        }
                    case 84:
                        return jSONObject.toString();
                    case 241:
                        if (!has2) {
                            break;
                        } else {
                            i7 = 49883;
                        }
                    default:
                        continue;
                }
                i7 = 49852;
            }
        } catch (Exception e) {
            SpiderDebug.log(e);
            return "";
        }
    }

    public String searchContent(String str, boolean z) {
        try {
            V0();
            JSONObject jSONObject = new JSONObject();
            long currentTimeMillis = System.currentTimeMillis() / 1000;
            String u = u(C0000.m1(f30short, 1343, 45, 2134) + str + currentTimeMillis + C0007.m26(f30short, 1388, 6, 1923));
            jSONObject.put(C0003.m9(f30short, 1394, 5, 1657), C0015.m47(f30short, 1399, 10, 364));
            jSONObject.put(C0008.m27(f30short, 1409, 7, 1290), str);
            jSONObject.put(C0000.m1(f30short, 1416, 4, 1720), 1);
            jSONObject.put(C0014.m43(f30short, 1420, 8, 2608), 12);
            jSONObject.put(C0006.m18(f30short, 1428, 4, 2115), u);
            jSONObject.put(C0007.m26(f30short, 1432, 9, 545), currentTimeMillis);
            String h2 = h(h.substring(0, 16), h.substring(16, 32), jSONObject.toString());
            String oq = oq("MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDitX/rWP6WWc3h\nDzUcfD8Hbw79yCB7rz18GEkjDapjlUVIa3P8FEQFoOchu7N+vdK6HQNsl2Bql4lv\nWOYuzRWNbLGQ7mNtMca28iCuPHck0AcJzOs9F6qruPL73eY7Ai7yvzs2IfEdyXSz\nHP/yXgEOi5ZEBfsBZEPMJw6vfHJVueuD/lh/LkoJ/gXEKMCM/pkIzGpBPd2TsIg8\nZdvOGMPy+MOnJb1Qfe0y3QQdc5VPVdZFWoWsM9RAenHmE3d1THb+uNZZZcnM1tV7\nxYgBbIhgHtXAZnWDWDRBM3xJPR3O9dfBHHt/tbyrZrSwK1IgwFgqfYm/tRbmp4y/\n1DhIF6mDAgMBAAECggEAIzDjS2gEFNiZ0a6nouVSb1f47sHq8OgR1jp619seMNkR\n6Rzs4xtON8VzO1REl47lsAgi6O9SgxlEtykIiglBqDNQGNw4SNHqM6nAEuvF3sv/\n27CYb2JGFuPdq+UVAOHk4b93dH6uS95ipA8DV97psRVP3P1EqkGjGISTjf/2S4IG\n10Q0UhP4xxiRS2iCtaIq0fbvnrChqYRlYQYpkkRCCH+Q4FNKquSsqmWyCu5yfeQM\nMek+aT9KgvmCh05UCeqC1x7xPtSneNbpJpLD5zW8CcG7EYFDtIP8b9BPDlud47ZH\n5Y4/wyQQFHHLOaniTJVvEJZ7cIoXy2gOhvgcHpNryQKBgQDxNNtXnCfVK0JYNhnU\n5WCOX9NeW9Q79HldhTM5/EqsjA5H21j5S7A/duBSRfX7iou1hyXaa2p+J7rxF9sj\nNlwHPsKhprskxXaHJ7qU84gSmwORsTQQPmtTsizGwVsM330+Q2ZROaSEfDoUqH9+\nKBKs6K+FOldcTOrCZ+ILk8werwKBgQDwnQUrKATzRThVdD6Hcgt/F/SAizDmvtiT\nVvRcGkiV3EtB5Rx8zFNJ9GWrqSAArwIxTWgfYCYsvpUjbJW02Mg0Ufj2+YhjT713\nO9yViwUq996St9eLwGQO5FDMD8FYi7bRAiZEAeAeIEeveDRsNK15++8VVJVo7b2l\nzcapp5k3bQKBgQDSiJNHRhqSet6+xgIIDGoZ+1Qv0TFPX5UrZt8OpsK7FshEOhXQ\nCxt8WZN03HHXK9fEC4GjwwxBrwYB+BOjCYiMHmCd3j0M3HoXgDrgViyYKMuVuDk8\nUG83r5ZbqVuCwfO8i/HbxddueEvtyiD2CZ47ZCIHxKOKAe0K4Mex2UBaKwKBgQDi\nrEouOelP9Kn5dyVhHENQXBTu9DIBb1FAnO5fxjMTWxFa5qhLuYHNbfxKF24atsRu\nBepNhJryFCkT0jvGv2L8Ry0wHiwqwvhO14obJ3ia3iBEQAVDlt+sV9L2KvGOpTB4\n/nlmIA4u02I1IBziw02aWYkGo0SOMUo0ZQL+2PEykQKBgAV1uqiJlWuA9uPdFFJP\nZPL2YoOuTWdWfIwIb/UdsbUuTckCgqPIqUPi3HhiVSunOgcO7HWK3GD3j8k4XEbW\nG4y+Ik0lLrWzBl728tZe1GENzTf8aapElHlUfFSM4OlrTRBsbMOsQBcJNh7QbyoZ\nBHiZZTbRUY6xUR4DGYkCOksF", h);
            JSONObject jSONObject2 = new JSONObject();
            jSONObject2.put(C0015.m47(f30short, 1441, 4, 1305), h2);
            jSONObject2.put(C0012.m37(f30short, 1445, 6, 2442), oq);
            JSONObject jSONObject3 = new JSONObject();
            fP.W(fP.j(), C0011.m35(f30short, 1451, 50, 2831), jSONObject2.toString(), j(currentTimeMillis), new L.yh(this, jSONObject3) { // from class: com.github.catvod.spider.Kuaikan.8

                /* renamed from: short, reason: not valid java name */
                private static final short[] f39short = {2479, 2475, 2469, 2436, 2479, 2467, 2514, 2469, 2465, 2481, 2451, 2469, 2481, 2475, 2432, 2513, 2470, 2483, 2471, 2464, 2467, 2483, 2487, 2467, 2467, 2518, 2469, 2476, 2467, 2470, 2465, 2464, 2443, 2483, 2473, 2464, 2437, 2483, 2465, 2443, 2491, 2472, 2519, 2487, 2468, 2440, 2439, 2471, 2437, 2439, 2487, 2443, 2519, 2459, 2444, 2478, 2473, 2442, 2440, 2519, 2471, 2479, 2468, 2514, 2536, 2513, 2449, 2435, 2453, 2486, 2459, 2467, 2473, 2445, 2482, 2432, 2436, 2487, 2465, 2481, 2488, 2488, 2483, 2519, 2483, 2438, 2448, 2474, 2442, 2448, 2475, 2476, 2437, 2437, 2448, 2491, 2458, 2470, 2454, 2464, 2509, 2486, 2485, 2490, 2445, 2451, 2481, 2468, 2505, 2464, 2472, 2482, 2522, 2519, 2468, 2514, 2452, 2451, 2522, 2464, 2516, 2437, 2477, 2451, 2468, 2485, 2442, 2473, 2509, 2536, 2515, 2482, 2475, 2473, 2439, 2512, 2453, 2473, 2446, 2480, 2480, 2455, 2488, 2481, 2477, 2438, 2487, 2456, 2473, 2509, 2513, 2452, 2456, 2480, 2474, 2447, 2480, 2513, 2472, 2513, 2473, 2469, 2448, 2452, 2476, 2456, 2452, 2453, 2467, 2480, 2474, 2522, 2437, 2437, 2522, 2458, 2488, 2440, 2432, 2449, 2435, 2446, 2433, 2509, 2437, 2464, 2441, 2433, 2484, 2458, 2481, 2458, 2469, 2438, 2536, 2522, 2440, 2522, 2448, 2472, 2518, 2483, 2442, 2477, 2481, 2468, 2442, 2523, 2468, 2522, 2464, 2512, 2453, 2475, 2470, 2467, 2483, 2467, 2464, 3000, 2981, 2991, 2983, 2985, 3000, 830, 819, 824, 805, 1498, 1485, 1499, 1501, 1476, 1500, 1499, 1485, 1492, 1503, 1508, 1490, 1503, 476, 465, 1426, 1419, 1408, 1467, 1418, 1413, 1417, 1409, 2232, 2231, 2235, 2227, 2383, 2390, 2397, 2406, 2377, 2384, 2394, 3279, 3286, 3292, 1301, 1296, 1290, 1293};
                final JSONObject V0;
                final Kuaikan j;

                {
                    this.j = this;
                    this.V0 = jSONObject3;
                    int m4 = C0001.m4();
                    int i = 1616;
                    while (true) {
                        i ^= 1633;
                        switch (i) {
                            case 14:
                            case 49:
                                i = m4 <= 0 ? 1709 : 1678;
                            case 204:
                                System.out.println(Float.parseFloat(C0007.m25("hx5aZZYzGlOzhPhqlCSYidX")));
                                break;
                            case 239:
                                break;
                        }
                        return;
                    }
                }

                @Override // com.github.catvod.spider.merge.L
                public void onFailure(Call call, Exception exc) {
                }

                /* JADX WARN: Failed to find 'out' block for switch in B:6:0x006c. Please report as an issue. */
                @Override // com.github.catvod.spider.merge.L
                public String onResponse(String str2) {
                    JSONArray jSONArray;
                    JSONArray jSONArray2;
                    int i;
                    try {
                        JSONObject jSONObject4 = new JSONObject(str2);
                        String Qy = this.j.Qy(C0012.m37(f39short, 0, 219, 2530), jSONObject4.getString(C0012.m37(f39short, 219, 6, 3020)));
                        JSONObject jSONObject5 = new JSONObject(this.j.j(Qy.substring(0, 16), Qy.substring(16, 32), jSONObject4.getString(C0008.m27(f39short, 225, 4, 860))));
                        jSONArray = new JSONArray();
                        jSONArray2 = jSONObject5.getJSONArray(C0004.m12(f39short, 229, 7, 1448));
                        i = 0;
                    } catch (JSONException e) {
                        int i2 = 1864;
                        while (true) {
                            i2 ^= 1881;
                            switch (i2) {
                                case 17:
                                    i2 = 48674;
                                    break;
                                case 47483:
                                    break;
                            }
                        }
                    }
                    while (true) {
                        int length = jSONArray2.length();
                        int i3 = 1616;
                        while (true) {
                            i3 ^= 1633;
                            switch (i3) {
                                case 14:
                                case 49:
                                    i3 = i < length ? 1709 : 1678;
                                case 204:
                                    JSONObject jSONObject6 = jSONArray2.getJSONObject(i);
                                    JSONObject jSONObject7 = new JSONObject();
                                    jSONObject7.put(C0015.m47(f39short, 236, 6, 1467), jSONObject6.getString(C0005.m17(f39short, 242, 2, 437)));
                                    jSONObject7.put(C0009.m30(f39short, 244, 8, 1508), jSONObject6.getString(C0018.m56(f39short, 252, 4, 2262)));
                                    jSONObject7.put(C0001.m3(f39short, 256, 7, 2361), jSONObject6.getString(C0004.m12(f39short, 263, 3, 3263)));
                                    jSONArray.put(jSONObject7);
                                    int i4 = i + 1;
                                    int i5 = 1740;
                                    while (true) {
                                        i5 ^= 1757;
                                        switch (i5) {
                                            case 17:
                                                i5 = 1771;
                                                break;
                                            case 54:
                                                break;
                                        }
                                    }
                                    i = i4;
                                    break;
                                case 239:
                                    break;
                            }
                            this.V0.put(C0005.m17(f39short, 266, 4, 1401), jSONArray);
                        }
                        return str2;
                    }
                }
            });
            return jSONObject3.toString();
        } catch (Exception e) {
            SpiderDebug.log(e);
            return "";
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0022. Please report as an issue. */
    String u(String str) {
        int i = 0;
        try {
            byte[] digest = MessageDigest.getInstance(C0007.m26(f30short, 1501, 3, 1720)).digest(str.getBytes());
            StringBuilder sb = new StringBuilder();
            int length = digest.length;
            while (true) {
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < length ? 1709 : 1678;
                        case 204:
                            String hexString = Integer.toHexString(digest[i] & 255);
                            int length2 = hexString.length();
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = length2 < 2 ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        break;
                                    case 500:
                                        sb.append(0);
                                        break;
                                }
                            }
                            sb.append(hexString);
                            i++;
                            int i4 = 1864;
                            while (true) {
                                i4 ^= 1881;
                                switch (i4) {
                                    case 17:
                                        i4 = 48674;
                                        break;
                                    case 47483:
                                        break;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                    return sb.toString().toLowerCase();
                }
            }
        } catch (NoSuchAlgorithmException e) {
            e.printStackTrace();
            return "";
        }
    }
}
